The following invalid code snippet triggers an ICE since at least GCC 2.95.3:
================================= void foo(int[]); void foo(x) int x[](); {} ================================= bug.c: In function 'foo': bug.c:2: error: declaration of 'x' as array of functions bug.c:2: internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in store_parm_decls_oldstyle, at c-decl.c:6486 Please submit a full bug report, [etc.] -- Summary: ICE with invalid old-style parameter declaration Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code, error-recovery, monitored Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35750