re PR c++/16276 ([3.4 only] G++ generates local references to linkonce sections)
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
This commit is contained in:
parent
0e497b6cf5
commit
4681c50501
2 changed files with 11 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
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.
|
||||
|
|
|
@ -1461,7 +1461,11 @@ emit_tinfo_decl (tree decl)
|
|||
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);
|
||||
|
|
Loading…
Add table
Reference in a new issue