From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 694 invoked by alias); 13 May 2007 22:18:19 -0000 Received: (qmail 667 invoked by uid 48); 13 May 2007 22:18:08 -0000 Date: Sun, 13 May 2007 22:18:00 -0000 Message-ID: <20070513221808.666.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/31903] [4.3 Regression] unwanted anonymous namespacing linkage In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "geoffk at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-05/txt/msg00960.txt.bz2 ------- 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