This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/52634] multiple definition error when using alias
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 20 Mar 2012 14:55:42 +0000
- Subject: [Bug lto/52634] multiple definition error when using alias
- Auto-submitted: auto-generated
- References: <bug-52634-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52634
--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 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?