------- Comment #8 from cvs-commit at gcc dot gnu dot org 2005-10-16 23:17 ------- Subject: Bug 24389
CVSROOT: /cvs/gcc Module name: gcc Changes by: [EMAIL PROTECTED] 2005-10-16 23:17:53 Modified files: gcc/cp : ChangeLog gcc/testsuite : ChangeLog Log message: PR c++/24389 * decl2.c (mark_used): Use uses_template_parms instead of dependent_type_p. * init.c (constant_value_1): Handle uninstantiated templates specially. * pt.c (instantiate_decl): Add sanity check. PR c++/24389 * g++.dg/template/static21.C: New test. * g++.dg/template/static21-a.cc: Likewise. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4939&r2=1.4940 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.6200&r2=1.6201 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24389