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]

r223819 - in /branches/c++-concepts: ChangeLog....


Author: asutton
Date: Thu May 28 13:58:46 2015
New Revision: 223819

URL: https://gcc.gnu.org/viewcvs?rev=223819&root=gcc&view=rev
Log:
2015-05-28  Andrew Sutton  <andrew.n.sutton@gmail.com>

	Fixing regression from merge.
	* gcc/cp/pt.c (determine_specializaion): Don't add variable candidates
	if we can't coerce their template arguments.

	Add tests for specialization of variable concepts.
	gcc/cp/pt.c (check_explicit_specialization): Update error message.
	gcc/cp/decl.c (grokvardecl): Add note about concept specialization.
	* gcc/testsuite/g++.dg/concepts/var-concept4.C: Add new tests.

	Don't crash on ill-formed specialization.
	* gcc/cp/pt.c (type_dependent_expression_p); Handle expressions
	that refer to variable templates.
	* gcc/testsuite/g++.dg/cpp1y/var-templ29.C: New.


Added:
    branches/c++-concepts/gcc/testsuite/g++.dg/cpp1y/var-templ29.C
Modified:
    branches/c++-concepts/ChangeLog.concepts
    branches/c++-concepts/gcc/cp/decl.c
    branches/c++-concepts/gcc/cp/pt.c
    branches/c++-concepts/gcc/testsuite/g++.dg/concepts/var-concept4.C


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