[Bug c++/67117] [c++-concepts] Constraints ignored on variable template
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Aug 5 18:14:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67117
--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Aug 5 18:13:24 2015
New Revision: 226646
URL: https://gcc.gnu.org/viewcvs?rev=226646&root=gcc&view=rev
Log:
PR c++/67117
* decl.c (grokvardecl): Set constraints here.
* pt.c (process_partial_specialization): Not here.
(finish_template_variable): Check constraints.
Added:
branches/c++-concepts/gcc/testsuite/g++.dg/concepts/var-templ1.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-concept3.C
More information about the Gcc-bugs
mailing list