[Bug fortran/44334] rnflow.f90 ~27% slower with -fwhole-program -flto after revision 159852
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Sep 8 21:00:00 GMT 2010
------- Comment #9 from burnus at gcc dot gnu dot org 2010-09-08 21:00 -------
For what it is worth, on AMD Athlon 64 X2 4800+ / x86-64-linux, I get for
gfortran -O3 -ffast-math -march=native -- and with with and without -flto:
0m45.132s -- (options as above)
0m52.731s -- additionally -fwhole-program
That's a +16% increase in run-time with -fwhole-program.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44334
More information about the Gcc-bugs
mailing list