[Bug c/35444] [4.2/4.3/4.4 regression] ICE with invalid function declaration
jsm28 at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Feb 13 01:01:00 GMT 2009
------- Comment #3 from jsm28 at gcc dot gnu dot org 2009-02-13 01:00 -------
Subject: Bug 35444
Author: jsm28
Date: Fri Feb 13 01:00:24 2009
New Revision: 144149
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144149
Log:
PR c/35444
* c-parser.c (c_parser_parms_list_declarator): Discard pending
sizes on syntax error after some arguments have been parsed.
testsuite:
* gcc.dg/noncompile/pr35444-1.c, gcc.dg/noncompile/pr35444-2.c:
New tests.
Added:
trunk/gcc/testsuite/gcc.dg/noncompile/pr35444-1.c
trunk/gcc/testsuite/gcc.dg/noncompile/pr35444-2.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-parser.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35444
More information about the Gcc-bugs
mailing list