The following testcase causes an ICE (segfault in remove_exit_barriers from tree-flow-inline.h) when compiles with -fopenmp:
========================= void foo() { #pragma omp parallel { L1: goto L1; } } ========================= -- Summary: ICE with -fopenmp and goto Product: gcc Version: 4.2.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, monitored, openmp Severity: normal Priority: P3 Component: middle-end 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=27328