The following valid code snippet triggers an ICE on trunk: ======================================= int foo() __attribute__((noreturn)); int bar() { return foo(); } =======================================
bug.cc: In function 'int bar()': bug.cc:2:27: internal compiler error: in lower_eh_constructs, at tree-eh.c:1997 Please submit a full bug report, [etc.] The bug appeared between 2009-10-16 and 2009-10-24. The C frontend does not crash. -- Summary: [4.5 Regression] ICE with __attribute__((noreturn)) Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: ice-on-valid-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=41905