From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16434 invoked by alias); 28 Nov 2013 14:01:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 16408 invoked by uid 48); 28 Nov 2013 14:01:33 -0000 From: "ysrumyan at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/58721] [4.9 Regression] The subroutine perdida is no longer inlined in fatigue.f90 Date: Thu, 28 Nov 2013 14:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: ysrumyan at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-11/txt/msg02925.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58721 Yuri Rumyantsev changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ysrumyan at gmail dot com --- Comment #1 from Yuri Rumyantsev --- 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.