re PR debug/55364 (ICE: in remove_addr_table_entry, at dwarf2out.c:4201 with -O -gsplit-dwarf)

gcc/
	PR debug/55364
	* dwarf2out.c (resolve_addr): Don't call
	remove_loc_list_addr_table_entries a second time for the same
	expression.

Co-Authored-By: Cary Coutant <ccoutant@google.com>

From-SVN: r196480
This commit is contained in:
Sterling Augustine 2013-03-05 23:08:45 +00:00 committed by Cary Coutant
parent 6cfa417fae
commit 798a209f93
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2013-03-05 Sterling Augustine <saugustine@google.com>
Cary Coutant <ccoutant@google.com>
PR debug/55364
* dwarf2out.c (resolve_addr): Don't call
remove_loc_list_addr_table_entries a second time for the same
expression.
2013-03-05 Jakub Jelinek <jakub@redhat.com>
PR debug/56510

View File

@ -22691,8 +22691,6 @@ resolve_addr (dw_die_ref die)
else
{
loc->replaced = 1;
if (dwarf_split_debug_info)
remove_loc_list_addr_table_entries (loc->expr);
loc->dw_loc_next = *start;
}
}