From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 123540 invoked by alias); 10 Jul 2015 07:26:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 123459 invoked by uid 55); 10 Jul 2015 07:26:23 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/66092] [c++-concepts] Concept can't check variadic template arguments Date: Fri, 10 Jul 2015 07:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-07/txt/msg00831.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66092 --- Comment #4 from Jason Merrill --- 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