re PR c++/33871 (typeinfo name referenced in ... defined in discarded section)
2007-11-05 H.J. Lu <hongjiu.lu@intel.com> PR c++/33871 * decl2.c (constrain_visibility): Clear DECL_ONE_ONLY if marked local. From-SVN: r129911
This commit is contained in:
parent
d03b2e6b4d
commit
565603f84a
@ -1,3 +1,9 @@
|
||||
2007-11-05 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR c++/33871
|
||||
* decl2.c (constrain_visibility): Clear DECL_ONE_ONLY if marked
|
||||
local.
|
||||
|
||||
2007-11-05 Douglas Gregor <doug.gregor@gmail.com>
|
||||
|
||||
PR c++/33996
|
||||
|
@ -1704,6 +1704,7 @@ constrain_visibility (tree decl, int visibility)
|
||||
if (!DECL_EXTERN_C_P (decl))
|
||||
{
|
||||
TREE_PUBLIC (decl) = 0;
|
||||
DECL_ONE_ONLY (decl) = 0;
|
||||
DECL_INTERFACE_KNOWN (decl) = 1;
|
||||
if (DECL_LANG_SPECIFIC (decl))
|
||||
DECL_NOT_REALLY_EXTERN (decl) = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user