This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/10591] use ODR rules to make C++ objects not be TREE_PUBLIC
- From: "geoffk at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Mar 2006 00:48:55 -0000
- Subject: [Bug c++/10591] use ODR rules to make C++ objects not be TREE_PUBLIC
- References: <bug-10591-102@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #16 from geoffk at gcc dot gnu dot org 2006-03-09 00:48 -------
Oops! I got confused about visibility vs. TREE_PUBLIC. I think it would be
better to track the visibility stuff under a different bug. The previous
comment does apply when something is in an anonymous namespace, but it's only
an optimisation, not required for correctness, since at the moment we give
things in an anonymous namespace a random name to avoid exactly this kind of
problem.
--
geoffk at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO|19664 |
nThis| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10591