The following valid code snippet triggers an ICE on trunk when compiled with "-fpermissive":
=================== void foo(); void bar() { try { foo(); } catch (...) {} catch (int) {} } =================== bug.cc: In function 'void bar()': bug.cc:6:3: warning: '...' handler must be the last handler for its try block bug.cc:3:6: internal compiler error: Segmentation fault Please submit a full bug report, [etc.] The bug appeared between 2009-09-01 and 2009-09-17. -- Summary: [4.5 Regression] ICE with catch(...) and -fpermissive 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=41906