[Bug c++/31903] [4.3 Regression] unwanted anonymous namespacing linkage
geoffk at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun May 13 22:18:00 GMT 2007
------- Comment #9 from geoffk at gcc dot gnu dot org 2007-05-13 23:18 -------
No DECL whose mangled name includes the name of an anonymous namespace should
be TREE_PUBLIC. That is the bug here.
There are no problems with typeinfo on systems where typeinfo is compared by
address, which includes Linux and Darwin. On other systems you'll notice that
the symbols are uniqued.
I don't believe there are any reasons why the names have to be unique on these
systems. Andrew, if you know some reasons, it would help if you listed them.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31903
More information about the Gcc-bugs
mailing list