From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15419 invoked by alias); 20 Apr 2011 18:17:33 -0000 Received: (qmail 15409 invoked by uid 22791); 20 Apr 2011 18:17:32 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 20 Apr 2011 18:17:17 +0000 From: "jamborm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/48585] [4.7 Regression] 483.xalancbmk in SPEC CPU 2006 failed to build X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jamborm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.7.0 X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Wed, 20 Apr 2011 18:17:00 -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 X-SW-Source: 2011-04/txt/msg02196.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48585 --- Comment #9 from Martin Jambor 2011-04-20 18:17:14 UTC --- Actually, IPA-CP is clearly involved, the function we're inlinig to is: (gdb) call debug_generic_expr(id->dst_fn) _ZN10xalanc_1_818XalanDOMStringPoolC2Emmm.constprop.15285 Looking at the WPA cgraph dump, it is apparent that also the src_fn is cloned by IPA-CP. However, it remains to be seen why the original and not the clone is being inlined here. When I look at the ASM name of the src function: (gdb) call debug_generic_expr(decl_assembler_name(id->src_fn)) _ZN10xalanc_1_818XalanDOMStringPoolC2Emmm.9230 And then it up in WPA cgraph_node, it shows no callers or callees at all: __base_ctor /77004(-1) @0x7f91ca86f000 (asm: _ZN10xalanc_1_818XalanDOMStringPoolC2Emmm) availability:n ot_available local prevailing_def_ironly finalized called by: calls: References: Refering this function: aliases & thunks: __comp_ctor /77005 (asm: _ZN10xalanc_1_818XalanDOMStringPoolC1Emmm) So I don't quite understand how it can be scheduled to be inlined...