From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13552 invoked by alias); 18 Feb 2015 17:13:28 -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 13490 invoked by uid 48); 18 Feb 2015 17:13:23 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/65028] [5 Regression] 450.soplex in SPEC CPU 2006 is miscompiled Date: Wed, 18 Feb 2015 17:13: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: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2015-02/txt/msg02027.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65028 H.J. Lu changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEW --- Comment #31 from H.J. Lu --- If I disable ipa_read_jump_function in: for (e = node->callees; e; e = e->next_callee) { struct ipa_edge_args *args = IPA_EDGE_REF (e); int count = streamer_read_uhwi (ib); bool contexts_computed = count & 1; count /= 2; if (!count) continue; vec_safe_grow_cleared (args->jump_functions, count); if (contexts_computed) vec_safe_grow_cleared (args->polymorphic_call_contexts, count); for (k = 0; k < ipa_get_cs_argument_count (args); k++) { ipa_read_jump_function (ib, ipa_get_ith_jump_func (args, k), e, data_in); if (contexts_computed) ipa_get_ith_polymorhic_call_context (args, k)->stream_in (ib, data_in); } } it works.