PR c++/79461 - ICE with lambda in constexpr constructor
commit4952bc859aa7960bd412faa889c0f183f6a18c19
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 Feb 2017 22:31:12 +0000 (13 22:31 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 Feb 2017 22:31:12 +0000 (13 22:31 +0000)
treed0d060810267555cf72dd6dd9d9661f3653ff07f
parent19efce70fd761aeab9edc42a78ac28e75f66e1a5
PR c++/79461 - ICE with lambda in constexpr constructor

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

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