This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/22028] New: ICE after invalid struct declaration
- From: "falk at debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Jun 2005 23:52:11 -0000
- Subject: [Bug c/22028] New: ICE after invalid struct declaration
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
falk@juist:/tmp% cat bug.c && gcc -c bug.c
int f(){
struct { int i[]; } u;
}
bug.c: In function 'f':
bug.c:2: error: flexible array member in otherwise empty struct
bug.c:2: internal compiler error: tree check: expected class 'type', have
'exceptional' (error_mark) in gimplify_type_sizes, at gimplify.c:4491
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: ICE after invalid struct declaration
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code, error-recovery
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: falk at debian dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22028