The following invalid code snippet triggers an ICE since GCC 4.0.0: ================================================= int __attribute__((vector_size(8))) main() { return 0; } =================================================
bug.cc:1: internal compiler error: in start_function, at cp/decl.c:10705 Please submit a full bug report, [etc.] -- Summary: [4.0/4.1/4.2/4.3 regression] ICE on "main" returning vector Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code, 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=29735