PR c++/85200 - ICE with constexpr if in generic lambda.
commitc55c843ed284dcbc7350789538e4f37c74ba7b24
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 Apr 2018 14:20:53 +0000 (5 14:20 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 Apr 2018 14:20:53 +0000 (5 14:20 +0000)
tree8eaf6ab62ce4f7eecac3821f0ee5c7b39119ba59
parentdbe1c8ede86fe0b07f37aa0e66b4cb1123946b80
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@259127 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp1z/constexpr-if19.C [new file with mode: 0644]