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

--- Comment #4 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:ad09440a09597c34e0b93498aad9d6ef0b8ca9ae

commit r10-6121-gad09440a09597c34e0b93498aad9d6ef0b8ca9ae
Author: Jason Merrill <ja...@redhat.com>
Date:   Tue Jan 21 14:21:49 2020 -0500

    PR c++/60855 - ICE with sizeof VLA capture.

    For normal captures we usually look through them within unevaluated
context,
    but that doesn't work here; trying to take the sizeof of the array in the
    enclosing scope tries and fails to evaluate a SAVE_EXPR from the enclosing
    scope.

        * lambda.c (is_lambda_ignored_entity): Don't look past VLA capture.

Reply via email to