This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/23440] New: [4.0/4.1 regression] "void f(){for" crashes the C++ frontend
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Aug 2005 10:56:31 -0000
- Subject: [Bug c++/23440] New: [4.0/4.1 regression] "void f(){for" crashes the C++ frontend
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Since GCC 4.0.0 the C++ frontend ICEs on code like
void foo() { for
But unlike PR23439 the C++ parser also ICEs on
void foo() { for (;;)
or
void foo() { if ()
or
void foo() { while ()
--
Summary: [4.0/4.1 regression] "void f(){for" crashes the C++
frontend
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code, error-recovery, monitored
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
CC: belyshev at depni dot sinp dot msu dot ru,gcc-bugs at
gcc dot gnu dot org
BugsThisDependsOn: 23439
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23440