I am using C++ and OpenMP, This also appears to be a bug in more recent versions of the compiler.
-- Summary: internal compiler error: in find_outermost_region_in_block, at tree-cfg.c:4739 Product: gcc Version: 4.1.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bmayer at gmail dot com GCC host triplet: Linux localhost.localdomain 2.6.23.17-88.fc7 #1 SMP Thu May 15 0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36608