PR c++/84752 - ICE with capture of constexpr array.
authorJason Merrill <jason@redhat.com>
Sat, 10 Mar 2018 03:34:23 +0000 (22:34 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Sat, 10 Mar 2018 03:34:23 +0000 (22:34 -0500)
commit3569f81f2ddc25b1ea22c99230c3e35032bd4752
tree52b84fcf9cf6268ab61e222de824edb12e39b095
parenta72e8ba830a57d2737280f627ef4ba5e2f3c1b59
PR c++/84752 - ICE with capture of constexpr array.

* call.c (standard_conversion): Set rvaluedness_matches_p on the
identity conversion under ck_lvalue.

From-SVN: r258406
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-array3.C [new file with mode: 0644]