* error.c (dump_decl): Fix type of default arguments for template
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Feb 1998 22:30:26 +0000 (22:30 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Feb 1998 22:30:26 +0000 (22:30 +0000)
commit4d192fd88967260c03dd680ef964aa9b84935c6e
tree55e154b8c10f7bdc2b913ed6e2b8530c5def5bd8
parentffe2e37d5f9d55cb0e5241c63df83e72d7bdfcc5
* error.c (dump_decl): Fix type of default arguments for template
template parameters and nontype template parameters.
* parse.y (template_parm): Handle invalid default template
template arguments here.
* parse.y (template_parm): Use template_arg instead of PTYPENAME
for default template template argument.
* pt.c (coerce_template_parms): Merge default template argument
codes.  Can treat RECORD_TYPE as template name if it is implicitly
created.  Fix argument index in error message.
* typeck.c (comptypes): Merge template argument comparison codes in
TEMPLATE_TEMPLATE_PARM and RECORD_TYPE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17650 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/error.c
gcc/cp/parse.c
gcc/cp/parse.y
gcc/cp/pt.c
gcc/cp/typeck.c