]> gcc.gnu.org Git - gcc.git/commit - gcc/cp/cp-tree.h
re PR c++/19555 (specialized in the wrong namespace causes an ICE)
authorMark Mitchell <mark@codesourcery.com>
Mon, 31 Jan 2005 06:16:54 +0000 (06:16 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 31 Jan 2005 06:16:54 +0000 (06:16 +0000)
commit2b1e8a76efd4aa5d8a9aa111016fe26eca7e6308
treef7c2fcad7da81ca7390ed264d37a6079512631d9
parentebcaaa2152486039f548259cc008ba5b3243d393
re PR c++/19555 (specialized in the wrong namespace causes an ICE)

PR c++/19555
* cp-tree.h (DECL_USE_TEMPLATE): Expand documentation.
* decl.c (duplicate_decls): Do not discard
DECL_IMPLICIT_INSTANTIATION when merging declarations.
(start_decl): Do not SET_DECL_TEMPLATE_SPECIALIZATION for
variables that do not have DECL_USE_TEMPLATE.

PR c++/19555
* g++.dg/template/static10.C: New test.

From-SVN: r94469
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/static10.C [new file with mode: 0644]
This page took 0.055702 seconds and 5 git commands to generate.