I consistently get the following ICE on this C++ code. omp_harness.cpp:39: internal compiler error: in omp_add_variable, at gimplify.c:4257
The code is not legit and there are several errors but this is because I have cut down a larger program. I am using the gomp-branch and gcc -v reports: Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../gomp-20050608-branch/configure --prefix=/local_scratch/owe043/gcc_gomp Thread model: posix gcc version 4.2.0-gomp-20050608-branch 20060216 (experimental) (merged 20060216) The command line I used to compile was: g++ -save-temps -fopenmp omp_harness.cpp -- Summary: openmp gomp ICE at gimplify.c:4257 Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgomp AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bowie dot owens at csiro dot au GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26611