Re: [C PATCH] Fix ICE on invalid (PR c/54355)

2012-08-24 Thread Joseph S. Myers
On Fri, 24 Aug 2012, Jakub Jelinek wrote: > 2012-08-23 Jakub Jelinek > > 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:

[C PATCH] Fix ICE on invalid (PR c/54355)

2012-08-24 Thread Jakub Jelinek
Hi! When the c_parser_declaration_or_fndef call has been added for error handling of invalid label followed by decl, the comments for the two arguments were swapped, and I believe nested needs to be passed as true, this is inside of another function. Testing revealed that empty_ok=true is also de