From: Jason Merrill Date: Mon, 5 Oct 2009 21:36:38 +0000 (-0400) Subject: * parser.c: Mark lambda_scope and lambda_count for PCH. X-Git-Tag: releases/gcc-4.5.0~3095 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cbabbc34a7e01d21381b565a63f65c59ca1f6e6f;p=thirdparty%2Fgcc.git * parser.c: Mark lambda_scope and lambda_count for PCH. From-SVN: r152474 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 8b4f1c0c4816..03f26c9cc3b6 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2009-10-05 Jason Merrill + + * parser.c: Mark lambda_scope and lambda_count for PCH. + 2009-10-03 Jason Merrill PR c++/41553 diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index 22f7a89fc420..8ab930c7c81b 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;