diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2016-01-18 16:58:06 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2016-01-18 15:58:06 +0000 |
commit | 5803bd01272dfa59256bd552c7a1bb51e3d2af95 (patch) | |
tree | 3a944858ee8cb8f0d65aaf9ff6c1ee8d1013dc1f /gcc/lto/lto-partition.c | |
parent | 4b0b30ef85db2eec7cd69ee3049b69ea46e9a752 (diff) | |
download | gcc-5803bd01272dfa59256bd552c7a1bb51e3d2af95.zip gcc-5803bd01272dfa59256bd552c7a1bb51e3d2af95.tar.gz gcc-5803bd01272dfa59256bd552c7a1bb51e3d2af95.tar.bz2 |
re PR lto/69003 (Undefined reference with gcc -r incremental linking)
PR lto/69003
* lto-partition.c (rename_statics): Fix pasto.
From-SVN: r232525
Diffstat (limited to 'gcc/lto/lto-partition.c')
-rw-r--r-- | gcc/lto/lto-partition.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/lto/lto-partition.c b/gcc/lto/lto-partition.c index 81a63a5..9eb63c2 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)) |