------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-07 07:24 ------- This seems to be fixed on the mainline at least for me: gold:~>gfortran -O1 t.f90 gold:~>!./ ./a.out ; ./a.out ; ./a.out 2.220446049250313E-016 1.62675300000000 0.990850000000000 2.220446049250313E-016 1.57976000000000 1.00884700000000 2.220446049250313E-016 1.64775000000000 0.999848000000000 gold:~>gfortran -O2 t.f90 gold:~>!./ ./a.out ; ./a.out ; ./a.out 4.440892098500626E-016 1.49477200000000 0.722890000000000 4.440892098500626E-016 1.53276600000000 0.716892000000000 4.440892098500626E-016 1.53476700000000 0.707892000000000 gold:~>gfortran -O3 t.f90 gold:~>!./ ./a.out ; ./a.out ; ./a.out 4.440892098500626E-016 1.51277000000000 0.784881000000000 4.440892098500626E-016 1.52476900000000 0.722890000000000 4.440892098500626E-016 1.54276600000000 0.710892000000000
Though MATMUL should be able to improved still. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17088