https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90732

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jason Merrill <ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:276265195a4e7362b34ac512f3bc0ad5a974dcff

commit r10-6120-g276265195a4e7362b34ac512f3bc0ad5a974dcff
Author: Jason Merrill <ja...@redhat.com>
Date:   Tue Jan 21 13:22:35 2020 -0500

    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.

Reply via email to