------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-07-18 
15:44 -------
Subject: Bug 22263

CVSROOT:        /cvs/gcc
Module name:    gcc
Changes by:     [EMAIL PROTECTED]       2005-07-18 15:44:36

Modified files:
        gcc/testsuite  : ChangeLog 
        gcc/cp         : ChangeLog cp-tree.h decl2.c pt.c 
Added files:
        gcc/testsuite/g++.dg/template: explicit7.C 

Log message:
        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.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5779&r2=1.5780
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/explicit7.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4824&r2=1.4825
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-tree.h.diff?cvsroot=gcc&r1=1.1155&r2=1.1156
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl2.c.diff?cvsroot=gcc&r1=1.791&r2=1.792
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/pt.c.diff?cvsroot=gcc&r1=1.1015&r2=1.1016



-- 


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

Reply via email to