]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* parser.c: Mark lambda_scope and lambda_count for PCH.
authorJason Merrill <jason@redhat.com>
Mon, 5 Oct 2009 21:36:38 +0000 (17:36 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 5 Oct 2009 21:36:38 +0000 (17:36 -0400)
From-SVN: r152474

gcc/cp/ChangeLog
gcc/cp/parser.c

index 8b4f1c0c4816f931c1e409d99744d993e4a3d5d7..03f26c9cc3b6eabb0e4376f22a80a327cce64a73 100644 (file)
@@ -1,3 +1,7 @@
+2009-10-05  Jason Merrill  <jason@redhat.com>
+
+       * parser.c: Mark lambda_scope and lambda_count for PCH.
+
 2009-10-03  Jason Merrill  <jason@redhat.com>
 
        PR c++/41553
index 22f7a89fc42011b7c7431bd5a176ab02134753f9..8ab930c7c81bfbcaa37fefbffc67e14adadc7e29 100644 (file)
@@ -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;