The 4.2 ObjC compiler ICEs on this (nonsensically reduced) testcase. Compile with -O2:
int f(unsigned int i) { @try { } @catch(id) { } for (;;) for (;;) @try { if (i) break; } @catch(id) { } } The 4.0 compiler does not ICE with this testcase. -- Summary: ICE on ObjC try-catch blocks Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: objc AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: stuart at apple dot com GCC target triplet: powerpc-apple-darwin http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31281