aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/rtti.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/rtti.c')
-rw-r--r--gcc/cp/rtti.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/cp/rtti.c b/gcc/cp/rtti.c
index dbc3e40..794c38b 100644
--- a/gcc/cp/rtti.c
+++ b/gcc/cp/rtti.c
@@ -1460,11 +1460,7 @@ emit_tinfo_decl (tree decl)
DECL_EXTERNAL (decl) = 0;
TREE_PUBLIC (decl) = !non_public;
if (non_public)
- {
- DECL_COMDAT (decl) = 0;
- if (SUPPORTS_ONE_ONLY)
- DECL_ONE_ONLY (decl) = 0;
- }
+ DECL_COMDAT (decl) = 0;
DECL_INITIAL (decl) = var_init;
mark_used (decl);