re PR c++/16475 (FAIL: g++.dg/rtti/tinfo1.C scan-assembler _ZTIP9CTemplateIhE:)
authorAndrew Pinski <apinski@apple.com>
Mon, 12 Jul 2004 22:28:54 +0000 (22:28 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Mon, 12 Jul 2004 22:28:54 +0000 (15:28 -0700)
2004-07-12  Andrew Pinski  <apinski@apple.com>

        PR c++/16475
        Revert:
        2004-07-07  H.J. Lu  <hongjiu.lu@intel.com>
                PR c++/16276
                * rtti.c (emit_tinfo_decl): Turn off DECL_ONE_ONLY if typeinfo
                is not public.

From-SVN: r84583

gcc/cp/ChangeLog
gcc/cp/rtti.c

index 988c71fed5cf099e942dc88e28c6755885a3532a..e5de5a7bf58351364cb5666641261735102fc084 100644 (file)
@@ -1,3 +1,12 @@
+2004-07-12  Andrew Pinski  <apinski@apple.com>
+
+       PR c++/16475
+       Revert:
+       2004-07-07  H.J. Lu  <hongjiu.lu@intel.com>
+               PR c++/16276
+               * rtti.c (emit_tinfo_decl): Turn off DECL_ONE_ONLY if typeinfo
+               is not public.
+
 2004-07-12  Eric Christopher  <echristo@redhat.com>
 
        * parser.c (cp_parser_class_head): Remove unused variable.
index dbc3e40340ec78393d3a22133fdc0e7414088f2a..794c38ba168df2b7111b960f8b09decc2e65b960 100644 (file)
@@ -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);