re PR debug/55364 (ICE: in remove_addr_table_entry, at dwarf2out.c:4201 with -O ...
authorSterling Augustine <saugustine@google.com>
Tue, 5 Mar 2013 23:08:45 +0000 (23:08 +0000)
committerCary Coutant <ccoutant@gcc.gnu.org>
Tue, 5 Mar 2013 23:08:45 +0000 (15:08 -0800)
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

gcc/ChangeLog
gcc/dwarf2out.c

index ee1d9fc..a0c6c3e 100644 (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
index 4e75407..d7faaac 100644 (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;
              }
          }