The following is reduced from the report here: http://gcc.gnu.org/ml/gcc-regression/2005-09/msg00002.html cc1plus -fnon-call-exceptions t.cc is all that needed to reproduce the bug.
---- struct JvSynchronize { ~JvSynchronize (); }; struct _Jv_Field { char* addr; }; _Jv_Field * resolve_pool_entry (void); void * _Jv_ResolvePoolEntry (void) { JvSynchronize sync; return (resolve_pool_entry ())->addr; } ----- -- Summary: [4.1 Regression] ICE: "missing REG_EH_REGION note in the end of bb" Product: gcc Version: 4.1.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, build Severity: normal Priority: P2 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org,rth at gcc dot gnu dot org GCC target triplet: powerpc-darwin7.9.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23676