[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug c++/28370] [4.2 Regression] undefined reference to template class static variable in an anonymous namespace




------- Comment #13 from jakub at gcc dot gnu dot org  2006-08-28 12:29 -------
Subject: Bug 28370

Author: jakub
Date: Mon Aug 28 12:28:55 2006
New Revision: 116506

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116506
Log:
        PR c++/28370
        * decl2.c (note_vague_linkage_var): Removed.
        (finish_static_data_member_decl): Add decl to pending_statics vector
        directly.  Do it even for non-public decls.

        * g++.dg/template/anon3.C: New test.

Added:
    branches/redhat/gcc-4_1-branch/gcc/testsuite/g++.dg/template/anon3.C
Modified:
    branches/redhat/gcc-4_1-branch/gcc/ChangeLog
    branches/redhat/gcc-4_1-branch/gcc/cp/decl2.c
    branches/redhat/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28370

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



Reply to: