[Bug c/20402] [4.1 regression] gcc.dg/noncompile/920923-1.c ICE
cvs-commit at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Mar 13 01:10:00 GMT 2005
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-13 01:10 -------
Subject: Bug 20402
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: jsm28@gcc.gnu.org 2005-03-13 01:09:47
Modified files:
gcc : ChangeLog c-parser.c
gcc/testsuite : ChangeLog
gcc/testsuite/gcc.dg/noncompile: 920923-1.c
Log message:
PR c/20402
* c-parser.c (c_parser_struct_or_union_specifier): Don't fall
through into call to parser_xref_tag after parse error.
(c_parser_struct_declaration): Consistently return NULL_TREE on
error.
testsuite:
* gcc.dg/noncompile/920923-1.c: Detail expected diagnostics for
new parser.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.7809&r2=2.7810
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-parser.c.diff?cvsroot=gcc&r1=2.5&r2=2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5153&r2=1.5154
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/noncompile/920923-1.c.diff?cvsroot=gcc&r1=1.5&r2=1.6
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20402
More information about the Gcc-bugs
mailing list