This is the mail archive of the gcc-bugs@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]

[Bug c++/66092] [c++-concepts] Concept can't check variadic template arguments


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


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