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: Tue, 20 Mar 2012 16:55: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
Jan Hubicka <hubicka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |hubicka at gcc dot gnu.org
|gnu.org |
--- Comment #6 from Jan Hubicka <hubicka at gcc dot gnu.org> 2012-03-20 16:55:40 UTC ---
mine. The alias node should go along with the variable into the appropriate
partition. It seems that the partitioning logic is confused by fact that the
variable is static but alias is not, so it decides to put alias into both units
and the alias drags variable with it.