2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-03-21 10:20:29 +08:00

re PR debug/65771 (ICE (in loc_list_from_tree, at dwarf2out.c:14964) on arm-linux-gnueabihf)

PR debug/65771
	* dwarf2out.c (mem_loc_descriptor): For CONST, fallback to
	trying mem_loc_descriptor on XEXP (rtl, 0).

From-SVN: r222181
This commit is contained in:
Jakub Jelinek 2015-04-17 16:16:30 +02:00 committed by Jakub Jelinek
parent bbd08a5dfa
commit aeebf48a70
2 changed files with 12 additions and 1 deletions

@ -1,3 +1,9 @@
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):

@ -12799,7 +12799,12 @@ mem_loc_descriptor (rtx rtl, machine_mode mode,
}
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);