diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2015-03-30 10:51:50 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2015-03-30 08:51:50 +0000 |
commit | afd1e7c68a62870d3090dda4ee0aab3e32d5e0ba (patch) | |
tree | 0971d2d3dfca79680827d8be2c80a5149829e725 /gcc/lto/lto-symtab.c | |
parent | 12daa22a2c4e3a9c1eba6740bdc2b67d7b7b181e (diff) | |
download | gcc-afd1e7c68a62870d3090dda4ee0aab3e32d5e0ba.zip gcc-afd1e7c68a62870d3090dda4ee0aab3e32d5e0ba.tar.gz gcc-afd1e7c68a62870d3090dda4ee0aab3e32d5e0ba.tar.bz2 |
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
Diffstat (limited to 'gcc/lto/lto-symtab.c')
-rw-r--r-- | gcc/lto/lto-symtab.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/lto/lto-symtab.c b/gcc/lto/lto-symtab.c index c00fd87..396d3e2 100644 --- a/gcc/lto/lto-symtab.c +++ b/gcc/lto/lto-symtab.c @@ -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 ()) |