This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/85200] [8 Regression] ICE in constexpr-if in lambda in template
- 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, 05 Apr 2018 14:21:25 +0000
- Subject: [Bug c++/85200] [8 Regression] ICE in constexpr-if in lambda in template
- Auto-submitted: auto-generated
- References: <bug-85200-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85200
--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu Apr 5 14:20:53 2018
New Revision: 259127
URL: https://gcc.gnu.org/viewcvs?rev=259127&root=gcc&view=rev
Log:
PR c++/85200 - ICE with constexpr if in generic lambda.
* pt.c (extract_locals_r): Don't record the local specs of variables
declared within the pattern.
Added:
trunk/gcc/testsuite/g++.dg/cpp1z/constexpr-if19.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c