From: hubicka Date: Wed, 16 Dec 2015 04:56:34 +0000 (+0000) Subject: * symtab.c (symtab_node::fixup_same_cpp_alias_visibility): X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=580014409dd2c11c8f9f91213f9c021572d2a55c;p=thirdparty%2Fgcc.git * symtab.c (symtab_node::fixup_same_cpp_alias_visibility): Do not copy DECL_VIRTUAL_P. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231670 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 57f957503597..ad50192a9231 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 581decea5d65..189d17887a62 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;