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

--- Comment #3 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
tp_sum is function that should be inlined. The problem is that its estimated
size after inlining a function call within tp_sum is 75.
We used to estimate that the speedup for inlining function is large and thus we
bumped limit from 30 to 400 (inline-insns-sinle to -auto). This is no longer
the case after fix to the time acocunting, because tp_sum has loop which we now
account as iterating 16 times (it is correct) and previously we accounted 1
times (that is bug I fixed).

Now the speedup for inlining estimated by inliner is just about 2% which falls
bellow to the estimate of 15%.

I do not see how to reasonably tel inliner that this is good idea to inline
here. So shall we just xfail the testcase?

Honza

Reply via email to