Using the following version from svn. g++ -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../gcc_4_2_svn/configure --prefix=/local_scratch/owe043/gcc_4_2 --enable-languages=c,c++ Thread model: posix gcc version 4.2.0 20070201 (prerelease)
On a Fedora Core 4 system. Using the pre-processed file (to be attached) the ICE occurs with the following command line: g++ -fopenmp foo.ii Note that no ICE occurs if the -fopenmp is omitted. The expected behaviour is compilation completed possibly with errors or warnings. The actual behaviour is an ICE. The error message is as below. foo.cc:509: instantiated from here nlopt/simulated_annealing.h:149: internal compiler error: Segmentation fault -- Summary: ICE Segmentation fault on using OpenMP 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 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=30703