https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61886
--- Comment #43 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Author: hubicka Date: Tue Dec 8 22:02:23 2015 New Revision: 231429 URL: https://gcc.gnu.org/viewcvs?rev=231429&root=gcc&view=rev Log: PR ipa/61886 * varpool.c (varpool_node::get_availability): Recurse only on weakrefs with definition in the target. (symbol_table::remove_unreferenced_decls): Keep aliases in the boundary. Modified: trunk/gcc/ChangeLog trunk/gcc/varpool.c