PR c++/79461 - ICE with lambda in constexpr constructor
authorJason Merrill <jason@redhat.com>
Mon, 13 Feb 2017 22:31:12 +0000 (17:31 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 13 Feb 2017 22:31:12 +0000 (17:31 -0500)
commit8cb7aaa11b356fbebd63f6da60356f91e67e6217
treed0d060810267555cf72dd6dd9d9661f3653ff07f
parentaa326bfb90c7ad2bf16b9582dac7e3de102ca6c5
PR c++/79461 - ICE with lambda in constexpr constructor

* constexpr.c (build_data_member_initialization): Ignore
initialization of a local variable.

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