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: "hubicka at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 25 Mar 2012 10:14:40 +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 #7 from Jan Hubicka <hubicka at gcc dot gnu.org> 2012-03-25 10:14:40 UTC ---
Hmm, partitioning seems right.
We get into ltrans0:
cfliteValueCallBacks: availability:not-ready (asm: cfliteValueCallBacks) needed
analyzed finalized externally_visible prevailing_def in_other_partition
References:
Refering this var: fn:main/0 (addr)
that is only alias from other partition. We however somehow work out the alias:
cfliteKeyCallBacks: availability:not_available (asm: cfliteKeyCallBacks) needed
References:
Refering this var: var:cfliteValueCallBacks (alias)
and then output it with 0 initialization. Seems overactive alias processing
somewhere.