PR c++/85200 - ICE with constexpr if in generic lambda.
authorJason Merrill <jason@redhat.com>
Thu, 5 Apr 2018 14:20:53 +0000 (10:20 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 5 Apr 2018 14:20:53 +0000 (10:20 -0400)
commite99d77c97fbee5c17594374b978a0c4f9cd125f4
tree8eaf6ab62ce4f7eecac3821f0ee5c7b39119ba59
parent2ba16fd2eb40c96e41de967ca32e4dea4b5e45a1
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.

From-SVN: r259127
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp1z/constexpr-if19.C [new file with mode: 0644]