lto-symtab.c (lto_symtab_merge_decls_2): Silence warning on DECL_ARTIFICAL symbols.
* lto-symtab.c (lto_symtab_merge_decls_2): Silence warning on DECL_ARTIFICAL symbols. From-SVN: r221770
This commit is contained in:
parent
12daa22a2c
commit
afd1e7c68a
|
@ -1,3 +1,8 @@
|
|||
2015-03-26 Jan Hubicka <hubicka@ucw.cz>
|
||||
|
||||
* lto-symtab.c (lto_symtab_merge_decls_2): Silence warning on
|
||||
DECL_ARTIFICAL symbols.
|
||||
|
||||
2015-03-26 Jan Hubicka <hubicka@ucw.cz>
|
||||
|
||||
PR lto/65536
|
||||
|
|
|
@ -473,7 +473,8 @@ lto_symtab_merge_decls_2 (symtab_node *first, bool diagnosed_p)
|
|||
if (TREE_PUBLIC (e->decl))
|
||||
{
|
||||
if (!lto_symtab_merge (prevailing, e)
|
||||
&& !diagnosed_p)
|
||||
&& !diagnosed_p
|
||||
&& !DECL_ARTIFICIAL (e->decl))
|
||||
mismatches.safe_push (e->decl);
|
||||
}
|
||||
if (mismatches.is_empty ())
|
||||
|
|
Loading…
Reference in New Issue