OSDN Git Service

PR c++/14912
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 29 Jul 2009 20:35:40 +0000 (20:35 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 29 Jul 2009 20:35:40 +0000 (20:35 +0000)
commitca5a622d979791d287ad0295f59c466e36a90e61
tree8967d064fe0fb79f53b568377a57adbd38c20fd3
parente4cd113b36f1ab042f68aa8b851bc40066873119
PR c++/14912
* cp-tree.h (enum tsubst_flags): Add tf_no_class_instantiations.
* error.c (count_non_default_template_args): Pass it.
* pt.c (tsubst) [TYPENAME_TYPE]: Don't complete type if it's set.

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