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

hubicka at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 20 17:22:00 GMT 2012


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.



More information about the Gcc-bugs mailing list