* dwarf2out.c (mem_loc_descriptor): For CONST, fallback to
trying mem_loc_descriptor on XEXP (rtl, 0).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222181
138bc75d-0d04-0410-961f-
82ee72b054a4
+2015-04-17 Jakub Jelinek <jakub@redhat.com>
+
+ PR debug/65771
+ * dwarf2out.c (mem_loc_descriptor): For CONST, fallback to
+ trying mem_loc_descriptor on XEXP (rtl, 0).
+
2015-04-17 Martin Liska <mliska@suse.cz>
* ipa-icf.c (sem_item_optimizer::subdivide_classes_by_sensitive_refs):
}
if (!const_ok_for_output (rtl))
- break;
+ {
+ if (GET_CODE (rtl) == CONST)
+ mem_loc_result = mem_loc_descriptor (XEXP (rtl, 0), mode, mem_mode,
+ initialized);
+ break;
+ }
symref:
mem_loc_result = new_addr_loc_descr (rtl, dtprel_false);