This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/67007] [c++-concepts] Deduction constraint + requires expression interaction
- 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: Thu, 30 Jul 2015 20:38:59 +0000
- Subject: [Bug c++/67007] [c++-concepts] Deduction constraint + requires expression interaction
- Auto-submitted: auto-generated
- References: <bug-67007-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67007
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu Jul 30 20:38:27 2015
New Revision: 226415
URL: https://gcc.gnu.org/viewcvs?rev=226415&root=gcc&view=rev
Log:
PR c++/67007
* constraint.cc (normalize_predicate_constraint): Set
processing_template_decl.
(make_constrained_auto): Don't normalize here.
Added:
branches/c++-concepts/gcc/testsuite/g++.dg/concepts/deduction-constraint1.C
Modified:
branches/c++-concepts/ChangeLog.concepts
branches/c++-concepts/gcc/cp/constraint.cc