This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r242018 - in /trunk/gcc: cp/ChangeLog cp/decl.c...


Author: jason
Date: Wed Nov  9 20:02:56 2016
New Revision: 242018

URL: https://gcc.gnu.org/viewcvs?rev=242018&root=gcc&view=rev
Log:
	Fix C++17 template placeholder for template template parm.

	* parser.c (cp_parser_simple_type_specifier): Allow placeholder
	for template template parameter.
	(cp_parser_type_id_1): Improve diagnostic.
	* decl.c (grokdeclarator): Handle class deduction diagnostics here.
	* pt.c (splice_late_return_type): Not here.
	(tsubst) [TEMPLATE_TYPE_PARM]: Substitute into placeholder template.
	(do_class_deduction): Handle non-class templates.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1z/class-deduction21.C
    trunk/gcc/testsuite/g++.dg/cpp1z/class-deduction22.C
    trunk/gcc/testsuite/g++.dg/cpp1z/class-deduction23.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/cp/parser.c
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/g++.dg/cpp0x/variadic-ex1.C
    trunk/gcc/testsuite/g++.old-deja/g++.pt/ttp10.C


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]