[Bug c++/34094] [4.2/4.3 Regression] Undefined static data member in anonymous namespace can acquire a definition anyway

jason at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Feb 10 18:13:00 GMT 2008



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



More information about the Gcc-bugs mailing list