The following program causes an ICE with -fopenmp -fexceptions: extern void bar (int);
void foo (int n) { int i; #pragma omp parallel for schedule(dynamic) for (i = 0; i < n; i++) { bar (0); @throw 0; } } -- Summary: Objective-C exceptions vs OpenMP Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, openmp Severity: normal Priority: P3 Component: objc AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29965