diff options
author | Jason Merrill <jason@redhat.com> | 2020-01-21 14:21:49 -0500 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2020-01-21 16:42:10 -0500 |
commit | ad09440a09597c34e0b93498aad9d6ef0b8ca9ae (patch) | |
tree | f289edc6a5ba5ab65034e39dafef9bab5f504fb8 /libgcc | |
parent | 276265195a4e7362b34ac512f3bc0ad5a974dcff (diff) | |
download | gcc-ad09440a09597c34e0b93498aad9d6ef0b8ca9ae.zip gcc-ad09440a09597c34e0b93498aad9d6ef0b8ca9ae.tar.gz gcc-ad09440a09597c34e0b93498aad9d6ef0b8ca9ae.tar.bz2 |
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.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions