From 798a209f9394b28a3b565f1cb6d31a69c23ac52d Mon Sep 17 00:00:00 2001 From: Sterling Augustine Date: Tue, 5 Mar 2013 23:08:45 +0000 Subject: [PATCH] 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 From-SVN: r196480 --- gcc/ChangeLog | 8 ++++++++ gcc/dwarf2out.c | 2 -- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ee1d9fcaf55..a0c6c3e9ad5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2013-03-05 Sterling Augustine + Cary Coutant + + 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 PR debug/56510 diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 4e75407fedf..d7faaac9f85 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -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; } } -- 2.30.2