This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug lto/52634] multiple definition error when using alias


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]