• jason's avatar
    * error.c (dump_decl): Fix type of default arguments for template · 4d192fd8
    jason authored
    	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
    4d192fd8
pt.c 160 KB