This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/37877] [4.3/4.4 Regression] Invalid "invalid use of static" error



------- Comment #3 from jakub at gcc dot gnu dot org  2009-01-09 14:45 -------
Subject: Bug 37877

Author: jakub
Date: Fri Jan  9 14:45:44 2009
New Revision: 143206

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143206
Log:
        PR c++/37877
        * parser.c (cp_parser_class_specifier): Clear
        parser->in_unbraced_linkage_specification_p while parsing class
        specifiers.

        * g++.dg/parse/linkage3.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/parse/linkage3.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37877


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]