From f36932a2c7418a5a2f1f62f4a968147e054d45d4 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Wed, 16 Dec 2015 05:56:34 +0100 Subject: 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 --- gcc/ChangeLog | 5 +++++ gcc/symtab.c | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 57f9575..ad50192 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 581dece..189d178 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; -- cgit v1.1