https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65982

--- Comment #4 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
I am testing:
Index: symtab.c
===================================================================
--- symtab.c    (revision 231216)
+++ symtab.c    (working copy)
@@ -1650,7 +1650,7 @@ symtab_node::get_partitioning_class (voi

   /* Weakref aliases are always duplicated.  */
   if (weakref)
-    return SYMBOL_DUPLICATE;
+    return definition ? SYMBOL_DUPLICATE : SYMBOL_EXTERNAL;

   /* External declarations are external.  */
   if (DECL_EXTERNAL (decl))

I probably should push out the early aliases patches.

Reply via email to