diff options
author | Jakub Jelinek <jakub@redhat.com> | 2015-01-23 10:47:51 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2015-01-23 10:47:51 +0100 |
commit | bd849fe605470d9a902dbbd5338012c786243466 (patch) | |
tree | 7c4a3f8410ac345d95aa67dbee0ca424a47dd7aa | |
parent | b55f40c12246309f204e2eccbe5d659641e841c9 (diff) | |
download | gcc-bd849fe605470d9a902dbbd5338012c786243466.zip gcc-bd849fe605470d9a902dbbd5338012c786243466.tar.gz gcc-bd849fe605470d9a902dbbd5338012c786243466.tar.bz2 |
re PR debug/64511 (ICE at -O3 with -g enabled on x86_64-linux-gnu)
PR debug/64511
* dwarf2out.c (struct dw_loc_descr_node): Add chain_next
GTY markup.
From-SVN: r220031
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/dwarf2out.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4a1cfcf..f74a495 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2015-01-23 Jakub Jelinek <jakub@redhat.com> + PR debug/64511 + * dwarf2out.c (struct dw_loc_descr_node): Add chain_next + GTY markup. + * diagnostic-core.h (internal_error_no_backtrace): New prototype. * diagnostic.def (DK_ICE_NOBT): New kind. * diagnostic.c (diagnostic_action_after_output): Handle DK_ICE_NOBT diff --git a/gcc/dwarf2out.h b/gcc/dwarf2out.h index 7be3a31..a4d7df8 100644 --- a/gcc/dwarf2out.h +++ b/gcc/dwarf2out.h @@ -205,7 +205,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 |