This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/45810] 40% slowdown when using LTO for a single-file program
- From: "hubicka at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 23 Jan 2011 15:59:37 +0000
- Subject: [Bug lto/45810] 40% slowdown when using LTO for a single-file program
- Auto-submitted: auto-generated
- References: <bug-45810-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45810
Jan Hubicka <hubicka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.01.23 15:59:30
Ever Confirmed|0 |1
--- Comment #12 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-01-23 15:59:30 UTC ---
Reproduces for me.
Perdida is funcion called once, what happens with default settings is that
perdida is not considered as inline candidate for small function inlining (it
is estimated to over 700 instructions, so it is huge)
later we try to inline it as function called once, but hit large function
growth limit. Compiling with --param large-function-growth=1000000 solve the
problem, but it does not make the testcase faster.
So problem is elsewhere.