This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/41969] [LTO] 23% slow-down with -flto -fwhole-program
- From: "mikolajmm at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 29 Apr 2012 18:48:49 +0000
- Subject: [Bug middle-end/41969] [LTO] 23% slow-down with -flto -fwhole-program
- Auto-submitted: auto-generated
- References: <bug-41969-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41969
travnick <mikolajmm at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mikolajmm at gmail dot com
--- Comment #6 from travnick <mikolajmm at gmail dot com> 2012-04-29 18:48:49 UTC ---
I have the same issue with flags:
-fwhole-program
-ftlo (-flto: eaven slower, faster (this result) for me: -flto=2)
-fuse-linker-plugin
In my project: https://github.com/travnick/GKiO-Projekt-GK
after applying this flags, default scene renders in 30-32s on my machine.
Without them it takes only 19-22 s so this flags make my project slower by 50%.
gcc version 4.7.0 20120414 (prerelease) (GCC)
Linux 3.3-pf #2 SMP PREEMPT Sat Apr 28 02:09:06 EEST 2012 x86_64 Intel(R)
Core(TM)2 Duo CPU T6600 @ 2.20GHz GenuineIntel GNU/Linux