Hello, I wanted to play a bit with OpenMP after fighting a (long) while to get a 4.2 snapshot compiled on my debian64 box... alas...
fresh svn checkout, multilib disabled because it's a no go on my box. # /usr/local/gomp/bin/g++ -v Using built-in specs. Target: x86_64-unknown-linux-gnu Configured with: ../configure --prefix=/usr/local/gomp --enable-languages=c++ --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --disable-multilib --enable-bootstrap --with-gcc --with-gnu-as --with-gnu-ld Thread model: posix gcc version 4.2.0 20060124 (experimental) testcase: int toto() { int a=0; #pragma omp single { for (int i=0; i<10; ++i) a += i; } return a; } int main() { return toto(); } /usr/local/gomp/bin/g++ -fopenmp main.cc -o omp main.cc: In function 'int toto()': main.cc:5: internal compiler error: in cp_parser_pragma, at cp/parser.c:17629 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. Command line options or the precise omp pragma used don't really matter, i get a crash on any "valid" omp directive; gcc-4.2-20060121 is ICE happy the same way. As a side note while trying to get the compiler built with some debug info, i've hit a case where it couldn't libgomp.spec once installed (a --disable-shared configuration). If there's a workaround that would make my day :)