[Bug target/56446] Generate one fewer relocation when calling a checked weakref function

hubicka at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 23 13:15:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56446

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu.org

--- Comment #9 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
default_binds_local_p should do the job, but it doesn't follow the aliases.
With LTO the weakref target can be brought local and then the weakref can be
translated to normal static alias, but we don't do this at the moment.
I am in progress of making my mind on when this is valid.

Honza



More information about the Gcc-bugs mailing list