aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/parser.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2009-10-05 17:36:38 -0400
committerJason Merrill <jason@gcc.gnu.org>2009-10-05 17:36:38 -0400
commitcbabbc34a7e01d21381b565a63f65c59ca1f6e6f (patch)
tree3cb36df243146170afd60fe54864c32ff2b0e5ba /gcc/cp/parser.c
parent123651cdb6e09bc299f66c5179fc144503a0044f (diff)
downloadgcc-cbabbc34a7e01d21381b565a63f65c59ca1f6e6f.zip
gcc-cbabbc34a7e01d21381b565a63f65c59ca1f6e6f.tar.gz
gcc-cbabbc34a7e01d21381b565a63f65c59ca1f6e6f.tar.bz2
* parser.c: Mark lambda_scope and lambda_count for PCH.
From-SVN: r152474
Diffstat (limited to 'gcc/cp/parser.c')
-rw-r--r--gcc/cp/parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c
index 22f7a89..8ab930c 100644
--- a/gcc/cp/parser.c
+++ b/gcc/cp/parser.c
@@ -6955,8 +6955,8 @@ cp_parser_trait_expr (cp_parser* parser, enum rid keyword)
/* Lambdas that appear in variable initializer or default argument scope
get that in their mangling, so we need to record it. We might as well
use the count for function and namespace scopes as well. */
-static tree lambda_scope;
-static int lambda_count;
+static GTY(()) tree lambda_scope;
+static GTY(()) int lambda_count;
typedef struct GTY(()) tree_int
{
tree t;