------- Comment #2 from pattakosn at yahoo dot com 2008-06-08 13:49 ------- I downloaded and compiled 4.3.1 which seems to work well. However I also downloaded the latest snapshot (4.4-20080606) and I get an other bug : Using built-in specs. Target: i686-pc-linux-gnu Configured with: /home/nimar/build/2/gcc-4.4-20080606/configure --prefix=/home/nimar/opt/gcc-4.4-20080606 --with-gmp=/home/nimar/opt/gcc-4.4-20080606 --with-mpfr=/home/nimar/opt/gcc-4.4-20080606 --enable-languages=c,c++,fortran Thread model: posix gcc version 4.4.0 20080606 (experimental) (GCC) COLLECT_GCC_OPTIONS='-v' '-save-temps' '-I/home/nimar/opt/gcc-4.4-20080606/include' '-O3' '-fimplicit-none' '-fopenmp' '-ftree-parallelize-loops=4' '-funroll-all-loops' '-msse4a' '-fipa-pta' '-fipa-cp' '-funroll-loops' '-fprefetch-loop-arrays' '-funit-at-a-time' '-combine' '-c' '-pthread' /home/nimar/opt/gcc-4.4-20080606/libexec/gcc/i686-pc-linux-gnu/4.4.0/f951 main3.f -ffixed-form -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=core2 -quiet -dumpbase main3.f -msse4a -auxbase main3 -O3 -version -fimplicit-none -fopenmp -ftree-parallelize-loops=4 -funroll-all-loops -fipa-pta -fipa-cp -funroll-loops -fprefetch-loop-arrays -funit-at-a-time -I/home/nimar/opt/gcc-4.4-20080606/include -fintrinsic-modules-path /home/nimar/opt/gcc-4.4-20080606/lib/gcc/i686-pc-linux-gnu/4.4.0/finclude -o main3.s GNU Fortran (GCC) version 4.4.0 20080606 (experimental) (i686-pc-linux-gnu) compiled by GNU C version 4.4.0 20080606 (experimental), GMP version 4.2.2, MPFR version 2.3.1. GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 main3.f: In function ‘MAIN__.omp_fn.0’: main3.f:390: error: stmt (0xb7d02410) marked modified after optimization pass: omp_get_thread_num (); main3.f:390: internal compiler error: verify_ssa failed Please submit a full bug report, with preprocessed source if appropriate. See for instructions. compile line was: /home/nimar/opt/gcc-4.4-20080606/bin/gfortran -v -save-temps -I/home/nimar/opt/gcc-4.4-20080606/include -O3 -fimplicit-none -fopenmp -ftree-parallelize-loops=4 -funroll-all-loops -msse4a -march=native -fipa-pta -fipa-cp -funroll-loops -fprefetch-loop-arrays -funit-at-a-time -combine main3.f -c The files i uploaded are no more relevant to this. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36465