[Bug ipa/58721] [4.9 Regression] The subroutine perdida is no longer inlined in fatigue.f90

ysrumyan at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Dec 3 15:55:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58721

--- Comment #7 from Yuri Rumyantsev <ysrumyan at gmail dot com> ---
I saw that on old compiler sources (dated by 20130911) with my patch 'perdida'
was inlined without any additional inline parameters (using -flto) but now it
does not inlined since another large function read_input is inlined before it
and we reach max growth limit. So I assume that an order of call graph walking
is different now. It means that we really need another heuristics to
distinguish really cold and hot calls, e.g. we can use edge->count for sorting
inline candidates.



More information about the Gcc-bugs mailing list