This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/66092] [c++-concepts] Concept can't check variadic template arguments
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 10 Jul 2015 07:26:21 +0000
- Subject: [Bug c++/66092] [c++-concepts] Concept can't check variadic template arguments
- Auto-submitted: auto-generated
- References: <bug-66092-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66092
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Jul 10 07:25:49 2015
New Revision: 225649
URL: https://gcc.gnu.org/viewcvs?rev=225649&root=gcc&view=rev
Log:
PR c++/66092
* gcc/cp/cp-tree.h (concept_template_p): New.
* gcc/cp/pt.c (coerce_template_parms): Concepts are also affected
by DR 1430.
* gcc/cp/constraint.cc (lift_template_id): Use location_of.
* gcc/cp/parser.c (cp_parser_template_id): SET_EXPR_LOCATION.
Added:
branches/c++-concepts/gcc/testsuite/g++.dg/concepts/dr1430.C
Modified:
branches/c++-concepts/ChangeLog.concepts
branches/c++-concepts/gcc/cp/constraint.cc
branches/c++-concepts/gcc/cp/cp-tree.h
branches/c++-concepts/gcc/cp/parser.c
branches/c++-concepts/gcc/cp/pt.c
branches/c++-concepts/gcc/testsuite/g++.dg/concepts/var-concept3.C