From: Jan Hubicka Date: Wed, 16 Dec 2015 04:56:34 +0000 (+0100) Subject: symtab.c (symtab_node::fixup_same_cpp_alias_visibility): Do not copy DECL_VIRTUAL_P. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f36932a2c7418a5a2f1f62f4a968147e054d45d4;p=gcc.git symtab.c (symtab_node::fixup_same_cpp_alias_visibility): Do not copy DECL_VIRTUAL_P. * symtab.c (symtab_node::fixup_same_cpp_alias_visibility): Do not copy DECL_VIRTUAL_P. From-SVN: r231670 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 57f95750359..ad50192a923 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-12-10 Jan Hubicka + + * symtab.c (symtab_node::fixup_same_cpp_alias_visibility): + Do not copy DECL_VIRTUAL_P. + 2015-12-15 Martin Sebor c++/42121 diff --git a/gcc/symtab.c b/gcc/symtab.c index 581decea5d6..189d17887a6 100644 --- a/gcc/symtab.c +++ b/gcc/symtab.c @@ -1363,7 +1363,6 @@ symtab_node::fixup_same_cpp_alias_visibility (symtab_node *target) DECL_EXTERNAL (decl) = DECL_EXTERNAL (target->decl); DECL_VISIBILITY (decl) = DECL_VISIBILITY (target->decl); } - DECL_VIRTUAL_P (decl) = DECL_VIRTUAL_P (target->decl); if (TREE_PUBLIC (decl)) { tree group;