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.