[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
Thu Nov 28 14:01:00 GMT 2013


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

Yuri Rumyantsev <ysrumyan at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ysrumyan at gmail dot com

--- Comment #1 from Yuri Rumyantsev <ysrumyan at gmail dot com> ---
We found the cause of performance degradation - bug was introduced by r202567,
namely in callback function "check_callers":

was

if (!has_hot_call && cgraph_maybe_hot_edge_p (e))

must be

if (!(*(bool*)has_hot_call) && cgraph_maybe_hot_edge_p (e))

After apllying this fix routine is inlined.



More information about the Gcc-bugs mailing list