------- Comment #7 from manu at gcc dot gnu dot org  2007-11-03 19:41 -------
Subject: Bug 29062

Author: manu
Date: Sat Nov  3 19:41:20 2007
New Revision: 129873

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129873
Log:
2007-11-03  Manuel Lopez-Ibanez  <[EMAIL PROTECTED]>

        PR c/29062
        * c-parser.c (c_parser_statement_after_labels): Error if a
        declaration is parsed after a label.
testsuite/
        * gcc.dg/20031223-1.c: Adjust error output.
        * gcc.dg/parse-decl-after-label.c: New.

Added:
    trunk/gcc/testsuite/gcc.dg/parse-decl-after-label.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-parser.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/20031223-1.c


-- 


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

Reply via email to