The comment on top of the testcase gcc.dg/noncompile/920923-1.c reads:
/* This test case contains a large number of syntactic errors. We
believe the intent of the test is that the compiler simply not
crash. The set of error messages reported is different when the C
parser is generated with bison 1.50 than 1.35. It is not worth
attempting to prevent this. Instead, we use a single dg-error with
a regexp that will match _all_ the errors indiscriminately. The
old error/warning/etc markers are kept around for reference, but
disabled.
Revisit after new (recursive descent) parser is implemented for C.
-- zw 2002-10-17 */
/* { dg-error ".*" "many syntax errors" { target *-*-* } 0 } */
Well, the regexp also matches an ICE-message, so the testcase is
now broken (see PR 25301). While this is probably hard to fix in 3.4
and 4.0, the new C parser is in place on the 4.1 branch and mainline.
Therefore the testcase should be revisited on mainline and the 4.1 branch
as suggested by Zack in the comment.
This PR acts as a reminder not to forget this.
--
Summary: gcc.dg/noncompile/920923-1.c needs fixing
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25302