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

--- Comment #10 from Nathan Froyd <froydnj at gcc dot gnu.org> 2011-02-03 
17:16:21 UTC ---
Author: froydnj
Date: Thu Feb  3 17:16:17 2011
New Revision: 169797

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169797
Log:
gcc/c-family/
    PR c++/46890
    * c-common.h (keyword_is_decl_specifier): Declare.
    * c-common.c (keyword_is_decl_specifier): Define.
    (keyword_is_function_specifier): New function.

gcc/cp/
    PR c++/46890
    * parser.c (cp_parser_class_specifier): Fix setting of
    want_semicolon.

gcc/testsuite/
    PR c++/46890
    * g++.dg/parser/semicolon3.C: Adjust.
    * g++.dg/parser/semicolon4.C: New testcase.
    * g++.dg/pr46890.C: New testcase.


Added:
    trunk/gcc/testsuite/g++.dg/parse/semicolon4.C
    trunk/gcc/testsuite/g++.dg/pr46890.C
Modified:
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-common.c
    trunk/gcc/c-family/c-common.h
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/parse/semicolon3.C

Reply via email to