------- Comment #3 from burnus at gcc dot gnu dot org 2010-02-21 11:06 ------- (In reply to comment #2) > seemingly being discussed, since useful for tonto > > http://gcc.gnu.org/ml/fortran/2010-02/msg00157.html >
But there: "it's unfortunately not possible to avoid the temporary creation without serious data-flow analysis work - too late for the frontend" Thus, this seems to be more a middle-end item. Regarding the current timing, I get with ifort -O3 -fast (v 11.1) vs. gfortran -flto -fwhole-program -O3 --fast-math -march=native (today's 4.5) It is also interesting that gfortran is much faster for the optimized version than ifort. gfortran ifort Default [s]: 24.881554 Default [s]: 5.108319 OPT1 [s]: 1.6641045 OPT1 [s]: 3.280205 OPT2 [s]: 1.6641045 OPT2 [s]: 4.988311 0.0000000 0.0000000E+00 real 0m28.420s real 0m13.400s -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38318