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

--- Comment #5 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Looks like a pasto in rename_statics.  I am testing:
Index: lto/lto-partition.c
===================================================================
--- lto/lto-partition.c (revision 232466)
+++ lto/lto-partition.c (working copy)
@@ -1077,8 +1077,8 @@ rename_statics (lto_symtab_encoder_t enc
                  IDENTIFIER_POINTER
                    (DECL_ASSEMBLER_NAME (s->get_alias_target()->decl))))
        && ((s->real_symbol_p ()
-             && !DECL_EXTERNAL (node->decl)
-            && !TREE_PUBLIC (node->decl))
+             && !DECL_EXTERNAL (s->decl)
+            && !TREE_PUBLIC (s->decl))
            || may_need_named_section_p (encoder, s))
        && (!encoder
            || lto_symtab_encoder_lookup (encoder, s) != LCC_NOT_FOUND))

Reply via email to