[Bug c++/85200] [8 Regression] ICE in constexpr-if in lambda in template
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Apr 5 14:21:00 GMT 2018
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
More information about the Gcc-bugs
mailing list