From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12393 invoked by alias); 20 Mar 2012 14:56:25 -0000 Received: (qmail 12372 invoked by uid 22791); 20 Mar 2012 14:56:23 -0000 X-SWARE-Spam-Status: No, hits=-2.9 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; Tue, 20 Mar 2012 14:55:43 +0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/52634] multiple definition error when using alias Date: Tue, 20 Mar 2012 15:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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 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: 2012-03/txt/msg01616.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52634 --- Comment #5 from Richard Guenther 2012-03-20 14:55:42 UTC --- 2 t1.o 3 164 2f48a666878dc458 PREVAILING_DEF_IRONLY_EXP main 169 2f48a666878dc458 UNDEF baz 173 2f48a666878dc458 RESOLVED_IR cfliteValueCallBacks t2.o 2 164 9f18e45b84a4baf8 PREVAILING_DEF_IRONLY_EXP cfliteValueCallBacks 176 9f18e45b84a4baf8 PREVAILING_DEF_IRONLY_EXP cfliteKeyCallBacks looks sane, but the partitioning not: Callgraph/varpool at WPA time: baz/1 @0x7ffff5a257e0 (asm: baz) availability:not_available reachable called by: main/0 (1.00 per call) calls: References: Refering this function: main/0 @0x7ffff5a256c0 (asm: main) availability:available analyzed needed reachable externally_visible prevailing_def_ironly_exp finalized called by: calls: baz/1 (1.00 per call) References: var:cfliteValueCallBacks (addr) Refering this function: cfliteKeyCallBacks: availability:overwritable (asm: cfliteKeyCallBacks) initialized needed analyzed finalized externally_visible prevailing_def_ironly_exp References: Refering this var: var:cfliteValueCallBacks (alias) cfliteValueCallBacks: availability:overwritable (asm: cfliteValueCallBacks) needed analyzed finalized externally_visible prevailing_def_ironly_exp References: var:cfliteKeyCallBacks (alias) Refering this var: fn:main/0 (addr) Partitions: Writing partition t2.o to file /tmp/ccZbL7rX.ltrans0.o, 0 insns cgraph nodes: varpool nodes: cfliteKeyCallBacks Writing partition t1.o to file /tmp/ccZbL7rX.ltrans1.o, 5 insns cgraph nodes: main/0 varpool nodes: where is the varpool/alias node for cfliteValueCallBacks?