[Bug c++/21581] (optimisation) Functions in anonymous namespaces should default to "hidden" visibility
sabre at nondot dot org
gcc-bugzilla@gcc.gnu.org
Tue Mar 21 18:03:00 GMT 2006
------- Comment #13 from sabre at nondot dot org 2006-03-21 18:03 -------
Pardon the potentially silly question here, but why 'hidden'? Why not
TREE_PUBLIC(decl) = 0? It seems that members of anonymous namespaces should be
completely internal, and not depend on platform support for hidden visibility.
If I understand correctly, marking something hidden places more slightly more
burden on the static linker than marking it internal, and not all platforms
support hidden.
Should I (re)open a new bug for to request TREE_PUBLIC(decl) = 0 behavior?
-Chris
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21581
More information about the Gcc-bugs
mailing list