aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/lambda.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2020-01-21 13:22:35 -0500
committerJason Merrill <jason@redhat.com>2020-01-21 16:42:10 -0500
commit276265195a4e7362b34ac512f3bc0ad5a974dcff (patch)
tree4a16800867fc56302b8bdfd868f06a70d21595d1 /gcc/cp/lambda.c
parenta312c80194685790aec7cf678eba83a536031cbf (diff)
downloadgcc-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