------- Comment #2 from burnus at gcc dot gnu dot org 2007-05-25 14:54 ------- Using the GCC 4.1.3 20070430 which comes with openSUSE Factory and contains some patches from 4.2/4.3, I get the following timings:
$ gfortran-4.1 -march=opteron -ffast-math -funroll-loops -ftree-vectorize -ftree-loop-linear -msse3 -O3 induct.f90 $ time a.out real 0m47.043s user 0m46.911s sys 0m0.020s which means that gcc/gfortran 4.1.3 was 10% faster for induct than 4.3's gfortran, but still almost 10% slower than gcc/g95 4.0.3. For the testcase (without "volatile"): real 0m4.194s user 0m4.192s sys 0m0.000s which is timewise also between gfortran 4.3 and g95. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32084