[Bug c/14069] New: This input file lets gcc crash
clifford at clifford dot at
gcc-bugzilla@gcc.gnu.org
Sat Feb 7 22:21:00 GMT 2004
The following code (which should not *compile* anyways, but should simply create a few error
messages) hangs gcc. Tested with gcc 3.2.3 and 20040206 CVS snapshot of gcc 3.4.
struct crash {
int len;
char str[];
char *p;
};
struct crash boom = {
.str = "Muhahahaha!",
.p = .str
};
--
Summary: This input file lets gcc crash
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: clifford at clifford dot at
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14069
More information about the Gcc-bugs
mailing list