[Bug c++/84752] [8 Regression] ICE with constexpr array referenced in lambda
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Mar 10 03:34:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84752
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Sat Mar 10 03:34:23 2018
New Revision: 258406
URL: https://gcc.gnu.org/viewcvs?rev=258406&root=gcc&view=rev
Log:
PR c++/84752 - ICE with capture of constexpr array.
* call.c (standard_conversion): Set rvaluedness_matches_p on the
identity conversion under ck_lvalue.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-array3.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/call.c
More information about the Gcc-bugs
mailing list