diff options
author | Jakub Jelinek <jakub@redhat.com> | 2011-02-23 01:47:38 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2011-02-23 01:47:38 +0100 |
commit | 8d422e63960595d448137624ec34e24b69b2f33d (patch) | |
tree | c310f9ccca18a94ab05cc98fb60fa5a0719ce69c /gcc/cp/decl.c | |
parent | a26e0b8113f3a58fde9b98041140b301c4407c00 (diff) | |
download | gcc-8d422e63960595d448137624ec34e24b69b2f33d.tar.gz |
re PR c++/47833 (ICE during GC in gt_ggc_mx_pending_template)
PR c++/47833
* pt.c (struct pending_template): Add chain_next GTY option.
* decl.c (struct named_label_use_entry): Likewise.
From-SVN: r170424
Diffstat (limited to 'gcc/cp/decl.c')
-rw-r--r-- | gcc/cp/decl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 663ca8f32aa..14d530ac988 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -1,6 +1,6 @@ /* Process declarations and variables for C++ compiler. Copyright (C) 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, - 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 + 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. Contributed by Michael Tiemann (tiemann@cygnus.com) @@ -178,7 +178,7 @@ tree integer_two_node; /* Used only for jumps to as-yet undefined labels, since jumps to defined labels can have their validity checked immediately. */ -struct GTY(()) named_label_use_entry { +struct GTY((chain_next ("%h.next"))) named_label_use_entry { struct named_label_use_entry *next; /* The binding level to which this entry is *currently* attached. This is initially the binding level in which the goto appeared, |