From d03f956e067d67fc9c6e1d8530362133632bfba1 Mon Sep 17 00:00:00 2001 From: hubicka Date: Mon, 18 Jan 2016 15:58:06 +0000 Subject: [PATCH] PR lto/69003 * lto-partition.c (rename_statics): Fix pasto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232525 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/lto/ChangeLog | 5 +++++ gcc/lto/lto-partition.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog index 724a525e860..ae2aba22e2f 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -1,3 +1,8 @@ +2016-01-12 Jan Hubicka + + PR lto/69003 + * lto-partition.c (rename_statics): Fix pasto. + 2016-01-18 Richard Biener PR lto/69337 diff --git a/gcc/lto/lto-partition.c b/gcc/lto/lto-partition.c index 81a63a5b92b..9eb63c27f33 100644 --- a/gcc/lto/lto-partition.c +++ b/gcc/lto/lto-partition.c @@ -1077,8 +1077,8 @@ rename_statics (lto_symtab_encoder_t encoder, symtab_node *node) 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)) -- 2.11.4.GIT