https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61886
--- Comment #40 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Author: hubicka Date: Tue Dec 8 20:46:42 2015 New Revision: 231425 URL: https://gcc.gnu.org/viewcvs?rev=231425&root=gcc&view=rev Log: PR ipa/61886 * lto-partition.c (add_symbol_to_partition_1): Transparent aliases are not part of the definition. (contained_in_symbol): Likewise. (promote_symbol): When promoting a symbol also promote all transparent aliases. (rename_statics): Weakref needs unique name, too. Modified: trunk/gcc/lto/ChangeLog trunk/gcc/lto/lto-partition.c