This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/14069] New: This input file lets gcc crash
- From: "clifford at clifford dot at" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Feb 2004 22:21:44 -0000
- Subject: [Bug c/14069] New: This input file lets gcc crash
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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