This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/44334] rnflow.f90 ~27% slower with -fwhole-program -flto after revision 159852
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Sep 2010 21:00:11 -0000
- Subject: [Bug fortran/44334] rnflow.f90 ~27% slower with -fwhole-program -flto after revision 159852
- References: <bug-44334-12313@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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