[Bug c/54355] ICE on invalid code in switch statement
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Aug 24 21:45:00 GMT 2012
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
More information about the Gcc-bugs
mailing list