[Bug fortran/44773] [4.6 Regression] Unnecessary temporaries increase the runtime for channel.f90 by ~70%
dominiq at lps dot ens dot fr
gcc-bugzilla@gcc.gnu.org
Fri Jul 9 12:02:00 GMT 2010
------- Comment #15 from dominiq at lps dot ens dot fr 2010-07-09 12:02 -------
The patch in comment #10 avoids the extra temporaries and recovers the original
timings. Regstrapped without regression and passed my tests. Note also that it
"fixes" pr44744.
Concerning the test in comment #13 it gives 3.0 with/without the patch (as well
with g95). I don't know if it should give 1.0 (the value before "call bar(u)")
or not, but the result does not depend on the patch.
Thanks for the quick fix.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44773
More information about the Gcc-bugs
mailing list