This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/21581] (optimisation) Functions in anonymous namespaces should default to "hidden" visibility
- From: "gdr at integrable-solutions dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Dec 2005 17:37:50 -0000
- Subject: [Bug c++/21581] (optimisation) Functions in anonymous namespaces should default to "hidden" visibility
- References: <bug-21581-4603@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from gdr at integrable-solutions dot net 2005-12-12 17:37 -------
Subject: Re: (optimisation) Functions in anonymous namespaces should default
to "hidden" visibility
"bkoz at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:
| There is a feature request to assign visibility attributes to
| namespaces. If this is done, then making anonymous namespaces hidden
| will just be a sub-class of that work.
|
| That enhancement request is
|
| c++/21764
|
| Some of the semantics need to be fleshed out concretely, and
| behavior decided.
I agree.
Independently of the visvibility issue, GCC can make some other entities
have internal linkage from the assembler/linker point of view (not C++
source point of view).
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21581