[EMAIL PROTECTED]:/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