This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/23439] New: [4.0/4.1 regression] "f(){for" crashes the compiler
- From: "belyshev at depni dot sinp dot msu dot ru" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Aug 2005 09:51:05 -0000
- Subject: [Bug c/23439] New: [4.0/4.1 regression] "f(){for" crashes the compiler
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
This invalid tescase causes segfault in strcmp() called from
annotate_with_file_line() in both new C and C++ parsers:
--------------------------
f(){for
--------------------------
--
Summary: [4.0/4.1 regression] "f(){for" crashes the compiler
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code, error-recovery
Severity: minor
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: belyshev at depni dot sinp dot msu dot ru
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23439