symtab.c (symtab_node::fixup_same_cpp_alias_visibility): Do not copy DECL_VIRTUAL_P.
authorJan Hubicka <hubicka@ucw.cz>
Wed, 16 Dec 2015 04:56:34 +0000 (05:56 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 16 Dec 2015 04:56:34 +0000 (04:56 +0000)
* symtab.c (symtab_node::fixup_same_cpp_alias_visibility):
Do not copy DECL_VIRTUAL_P.

From-SVN: r231670

gcc/ChangeLog
gcc/symtab.c

index 57f957503597da2e67ce06c4880c599f31f7998d..ad50192a9231b53214cb26cbb443cf25b8fb2ca5 100644 (file)
@@ -1,3 +1,8 @@
+2015-12-10  Jan Hubicka  <hubicka@ucw.cz>
+
+       * symtab.c (symtab_node::fixup_same_cpp_alias_visibility):
+       Do not copy DECL_VIRTUAL_P.
+
 2015-12-15  Martin Sebor  <msebor@redhat.com>
 
        c++/42121
index 581decea5d65f3d6b7ced860efb69e2a50f62bdf..189d17887a62f6705c4c41e0f0d43aecf8661bc6 100644 (file)
@@ -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;