This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/31903] [4.3 Regression] unwanted anonymous namespacing linkage



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]