From bd849fe605470d9a902dbbd5338012c786243466 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 23 Jan 2015 10:47:51 +0100 Subject: [PATCH] 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 --- gcc/ChangeLog | 4 ++++ gcc/dwarf2out.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4a1cfcfc586..f74a495838e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2015-01-23 Jakub Jelinek + 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 7be3a31b6cb..a4d7df8cbea 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 -- 2.30.2