This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/34094] [4.2/4.3 Regression] Undefined static data member in anonymous namespace can acquire a definition anyway
- From: "jason at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Feb 2008 18:12:46 -0000
- Subject: [Bug c++/34094] [4.2/4.3 Regression] Undefined static data member in anonymous namespace can acquire a definition anyway
- References: <bug-34094-11271@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #15 from jason at gcc dot gnu dot org 2008-02-10 18:12 -------
Subject: Bug 34094
Author: jason
Date: Sun Feb 10 18:12:01 2008
New Revision: 132218
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132218
Log:
PR c++/34094
* decl2.c (cp_write_global_declarations): Don't write out static
data members with DECL_IN_AGGR_P set.
Added:
trunk/gcc/testsuite/g++.dg/other/anon5.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl2.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34094