aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2015-12-16 05:56:34 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2015-12-16 04:56:34 +0000
commitf36932a2c7418a5a2f1f62f4a968147e054d45d4 (patch)
tree705e2e9f2030a377fffebfa7a028760ebf31848f /gcc
parent2e9208da3bec9de9865bbb9d63ff9f179194f66a (diff)
downloadgcc-f36932a2c7418a5a2f1f62f4a968147e054d45d4.zip
gcc-f36932a2c7418a5a2f1f62f4a968147e054d45d4.tar.gz
gcc-f36932a2c7418a5a2f1f62f4a968147e054d45d4.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/symtab.c1
2 files changed, 5 insertions, 1 deletions
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 <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
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;