diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2015-12-16 05:56:34 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2015-12-16 04:56:34 +0000 |
commit | f36932a2c7418a5a2f1f62f4a968147e054d45d4 (patch) | |
tree | 705e2e9f2030a377fffebfa7a028760ebf31848f | |
parent | 2e9208da3bec9de9865bbb9d63ff9f179194f66a (diff) | |
download | gcc-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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/symtab.c | 1 |
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; |