This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/34213] [4.2/4.3 Regression] static member function in anonymous namespace can't be used as template argument
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Nov 2007 07:12:28 -0000
- Subject: [Bug c++/34213] [4.2/4.3 Regression] static member function in anonymous namespace can't be used as template argument
- References: <bug-34213-12873@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from jakub at gcc dot gnu dot org 2007-11-27 07:12 -------
Subject: Bug 34213
Author: jakub
Date: Tue Nov 27 07:12:10 2007
New Revision: 130463
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130463
Log:
PR c++/34213
* tree.c (decl_linkage): Static data members and static member
functions in anonymous ns classes are lk_external.
* g++.dg/ext/visibility/anon8.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/ext/visibility/anon8.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/tree.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34213