[Bug ipa/79966] [9/10/11 Regression] run time more than twice slower when using -fipa-cp-clone

jamborm at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jan 7 15:53:42 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79966

--- Comment #13 from Martin Jambor <jamborm at gcc dot gnu.org> ---
I can confirm this, even on current trunk.

The reason is that runtptests/3 -> tp_sum/5 is not inlined because it
exceeds max-inline-insns-auto.  I have to set the param to 43 - the
default is 15 - for the function to be inlined and then the result is
fast again.  In GCC 8 the value of the param was 30.  After a very
superficial glance at the function in the release_ssa dump, the
function does not seem to be any bigger than in the gcc 8 times.


More information about the Gcc-bugs mailing list