From a608debe1cfd53c7c1d5d2f2701e7dc93edb2eab Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Wed, 8 Jun 2011 21:42:32 +0200 Subject: [PATCH] cp-tree.h (struct tinst_level): Add chain_next GTY markup. * cp-tree.h (struct tinst_level): Add chain_next GTY markup. From-SVN: r174816 --- gcc/cp/ChangeLog | 5 +++++ gcc/cp/cp-tree.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index eb6dde0072a..f785c89e610 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2011-06-08 Jakub Jelinek + + * cp-tree.h (struct tinst_level): Add chain_next GTY + markup. + 2011-06-08 Jason Merrill PR c++/49322 diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index 0395db7a27d..77963b246e9 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -4635,7 +4635,7 @@ struct cp_declarator { }; /* A level of template instantiation. */ -struct GTY(()) tinst_level { +struct GTY((chain_next ("%h.next"))) tinst_level { /* The immediately deeper level in the chain. */ struct tinst_level *next; -- 2.30.2