]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
backport: re PR debug/64511 (ICE at -O3 with -g enabled on x86_64-linux-gnu)
authorJakub Jelinek <jakub@redhat.com>
Sun, 1 Feb 2015 17:32:18 +0000 (18:32 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sun, 1 Feb 2015 17:32:18 +0000 (18:32 +0100)
Backported from mainline
2015-01-23  Jakub Jelinek  <jakub@redhat.com>

PR debug/64511
* dwarf2out.c (struct dw_loc_descr_node): Add chain_next
GTY markup.

From-SVN: r220322

gcc/ChangeLog
gcc/dwarf2out.h

index ca6b745fc6470904f6a319e12b94c34a23ba2384..cb5e9c55ce530078fbf22b313ced2fc2235eacc4 100644 (file)
@@ -1,6 +1,12 @@
 2015-02-01  Jakub Jelinek  <jakub@redhat.com>
 
        Backported from mainline
+       2015-01-23  Jakub Jelinek  <jakub@redhat.com>
+
+       PR debug/64511
+       * dwarf2out.c (struct dw_loc_descr_node): Add chain_next
+       GTY markup.
+
        2015-01-20  Jakub Jelinek  <jakub@redhat.com>
 
        PR debug/64663
index 696fef938f1333e9ff2d0ee5cae3cef889f0757b..a8e6452c3f206e9c5c3773f1daa3412452afdc84 100644 (file)
@@ -201,7 +201,7 @@ struct GTY(()) dw_val_node {
 /* Locations in memory are described using a sequence of stack machine
    operations.  */
 
-struct GTY(()) dw_loc_descr_node {
+struct GTY((chain_next ("%h.dw_loc_next"))) dw_loc_descr_node {
   dw_loc_descr_ref dw_loc_next;
   ENUM_BITFIELD (dwarf_location_atom) dw_loc_opc : 8;
   /* Used to distinguish DW_OP_addr with a direct symbol relocation