Commit 5803bd01 by Jan Hubicka Committed by Jan Hubicka

re PR lto/69003 (Undefined reference with gcc -r incremental linking)

	PR lto/69003
	* lto-partition.c (rename_statics): Fix pasto.

From-SVN: r232525
parent 4b0b30ef
2016-01-12 Jan Hubicka <hubicka@ucw.cz>
PR lto/69003
* lto-partition.c (rename_statics): Fix pasto.
2016-01-18 Richard Biener <rguenther@suse.de>
PR lto/69337
......
......@@ -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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment