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: r84215
+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-07 Nathan Sidwell <nathan@codesourcery.com>
* cp-tree.h (CLASSTYPE_N_BASECLASSES): Remove.
DECL_EXTERNAL (decl) = 0;
TREE_PUBLIC (decl) = !non_public;
if (non_public)
- DECL_COMDAT (decl) = 0;
+ {
+ DECL_COMDAT (decl) = 0;
+ if (SUPPORTS_ONE_ONLY)
+ DECL_ONE_ONLY (decl) = 0;
+ }
DECL_INITIAL (decl) = var_init;
mark_used (decl);