From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13821 invoked by alias); 27 Oct 2014 15:43:46 -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 13772 invoked by uid 48); 27 Oct 2014 15:43:42 -0000 From: "i.palachev at samsung dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/63576] [5 Regression] ICE : in ipa_merge_profiles, at ipa-utils.c:540 during Firefox LTO/PGO build Date: Mon, 27 Oct 2014 15:53: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: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: i.palachev at samsung dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.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: 2014-10/txt/msg02088.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63576 Ilya Palachev changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |i.palachev at samsung dot com --- Comment #3 from Ilya Palachev --- (In reply to Jan Hubicka from comment #2) > speculative edges come in pairs (direct, indirect edge) that is obtained by > speculative_call_info. THen you need to sum counts (instead of taking ones > from BB) and turn them back to frequencies (because it is profile only > counts should be non-0) Suggested patch https://gcc.gnu.org/ml/gcc-patches/2014-10/msg02764.html Jan, so you mean that counts from BBs and counts from speculative edges should be sumed?