diff options
author | Jason Merrill <jason@redhat.com> | 2020-01-21 13:22:35 -0500 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2020-01-21 16:42:10 -0500 |
commit | 276265195a4e7362b34ac512f3bc0ad5a974dcff (patch) | |
tree | 4a16800867fc56302b8bdfd868f06a70d21595d1 /gcc/cp/lambda.c | |
parent | a312c80194685790aec7cf678eba83a536031cbf (diff) | |
download | gcc-276265195a4e7362b34ac512f3bc0ad5a974dcff.zip gcc-276265195a4e7362b34ac512f3bc0ad5a974dcff.tar.gz gcc-276265195a4e7362b34ac512f3bc0ad5a974dcff.tar.bz2 |
PR c++/90732 - ICE with VLA capture and generic lambda.
We were failing to handle VLA capture in tsubst_lambda_expr; initially
building a DECLTYPE_TYPE for the capture and then tsubsting it doesn't give
the special VLA handling. So with this patch we call add_capture again for
VLAs.
* pt.c (tsubst_lambda_expr): Repeat add_capture for VLAs.
Diffstat (limited to 'gcc/cp/lambda.c')
0 files changed, 0 insertions, 0 deletions