]> gcc.gnu.org Git - gcc.git/commit
re PR c++/22263 (explicit instantiation fails to emit symbols defined later)
authorMark Mitchell <mark@codesourcery.com>
Mon, 18 Jul 2005 15:44:36 +0000 (15:44 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 18 Jul 2005 15:44:36 +0000 (15:44 +0000)
commiteba839f9719e66195f75207b377593c025c71b82
tree7a30e58e91902a07435d0df3f33afcd8eeeddc4e
parent28356f52a9c5d00dcf7b6673a2e83309c63cee0c
re PR c++/22263 (explicit instantiation fails to emit symbols defined later)

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.

From-SVN: r102133
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]
This page took 0.062719 seconds and 5 git commands to generate.