PR c++/85200 - ICE with constexpr if in generic lambda.
authorJason Merrill <jason@redhat.com>
Wed, 4 Apr 2018 19:10:38 +0000 (15:10 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 4 Apr 2018 19:10:38 +0000 (15:10 -0400)
commit8859913ea3cbefdcf1aaec654744a358420d8138
tree0fd46e7296c58e37e894045a3f26e87ef3841209
parent3dba92a96d5d11dbf34f5d92cec63739657c5369
PR c++/85200 - ICE with constexpr if in generic lambda.

* tree.c (cp_walk_subtrees): Walk into DECL_EXPR in templates.

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