diff options
author | Jason Merrill <jason@redhat.com> | 2020-01-31 17:10:30 -0500 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2020-01-31 19:06:37 -0500 |
commit | 00a49cd840f60774b0e9e0109fb10559bc9a9194 (patch) | |
tree | d8daf51a689a88ba7901d32f63fedfe8fc9ab22f /intl/ChangeLog | |
parent | e98ebda074bf8fc5f630a93085af81f52437d851 (diff) | |
download | gcc-00a49cd840f60774b0e9e0109fb10559bc9a9194.zip gcc-00a49cd840f60774b0e9e0109fb10559bc9a9194.tar.gz gcc-00a49cd840f60774b0e9e0109fb10559bc9a9194.tar.bz2 |
c++: Fix sizeof VLA lambda capture.
sizeof a VLA type is not a constant in C or the GNU C++ extension, so we
need to capture the VLA even in unevaluated context. For PR60855 we stopped
looking through a previous capture, but we also need to capture the first
time the variable is mentioned.
PR c++/86216
* semantics.c (process_outer_var_ref): Capture VLAs even in
unevaluated context.
Diffstat (limited to 'intl/ChangeLog')
0 files changed, 0 insertions, 0 deletions