From: Jakub Jelinek Date: Fri, 23 Jan 2015 09:47:51 +0000 (+0100) Subject: re PR debug/64511 (ICE at -O3 with -g enabled on x86_64-linux-gnu) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bd849fe605470d9a902dbbd5338012c786243466;p=gcc.git 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 --- 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