[Bug lto/65982] [5/6 Regression] ICE: in lto_output_varpool_node, at lto-cgraph.c:623

hubicka at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Dec 3 05:15:00 GMT 2015


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.


More information about the Gcc-bugs mailing list