The following test case causes g++ 4.4.0 to crash. $ g++ --version g++ (GCC) 4.4.0 20090514 (Red Hat 4.4.0-6)
#include <vector> int main() { std::vector<int> m; std::vector<int>::const_iterator it = m.begin(); #pragma omp parallel for (;;) { if (it == m.end()) break; } return 0; } -- Summary: OpenMP ICE (segfault) in conditional break Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: sjackman at gmail dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43545