The following valid code snippet triggers an ICE when compiled with "-O -ftree-parallelize-loops=2":
======================================== void foo(); void bar(int n, char *p) { try { foo(); ++n; foo(); for (int i = 0; i < n-1; ++i) p[i] = 0; } catch (...) { for (int i = 0; i < n; ++i) p[i] = 0; } } ======================================== Unable to coalesce ssa_names 1 and 5 which are marked as MUST COALESCE. n_1(ab) and n_5(ab) bug26.cc: In function 'void bar(int, char*)': bug26.cc:8: internal compiler error: SSA corruption Please submit a full bug report, [etc.] The ICE happens since GCC 4.3.0 when "-ftree-parallelize-loops" was introduced. -- Summary: ICE with try/catch and -ftree-parallelize-loops Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, monitored Severity: normal Priority: P3 Component: tree-optimization 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=38632