OSDN Git Service

PR c++/22263
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Jul 2005 15:44:36 +0000 (15:44 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Jul 2005 15:44:36 +0000 (15:44 +0000)
commit2806ee49f2b72c642ed1da9cbd1c53e4e0c08eb5
tree7a30e58e91902a07435d0df3f33afcd8eeeddc4e
parent3983e6c754ffb5702c81e8758cd66111dab3c2a6
PR c++/22263
* cp-tree.h (instantiate_decl): Change prototype.
* decl2.c (mark_used): Adjust accordingly.
* pt.c (do_decl_instantiation): Likewise.
(instantiate_class_member): Likewise.
(instantiate_decl): Rename undefined_ok as expl_inst_class_mem_p.
Clear DECL_INTERFACE_KNOWN for an explicitly instantiated template
that has no definition available.
(instantiate_pending_templates): Adjust call to instantiate_decl.

PR c++/22263
* g++.dg/template/explicit7.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102133 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl2.c
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/explicit7.C [new file with mode: 0644]