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/54355] ICE on invalid code in switch statement


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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-08-24 21:45:28 UTC ---
Author: jakub
Date: Fri Aug 24 21:45:22 2012
New Revision: 190656

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190656
Log:
    PR c/54355
    * c-decl.c (c_parser_label): Pass true as nested and fix up comments
    for nested and empty_ok arguments in the call to
    c_parser_declaration_or_fndef.

    * gcc.dg/pr54355.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr54355.c
Modified:
    trunk/gcc/c/ChangeLog
    trunk/gcc/c/c-parser.c
    trunk/gcc/testsuite/ChangeLog


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