diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2021-10-02 16:15:38 +0100 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2021-10-03 21:03:56 +0100 |
commit | fdf0b6ce6c1cfa1c328c0c40473c71ca11fd8303 (patch) | |
tree | 5076292a7ea47921a9134dc1e7084969a9cf25aa /gcc/fortran/resolve.c | |
parent | 650beb110538097b9c3e8600149b333a83e7e836 (diff) | |
download | gcc-fdf0b6ce6c1cfa1c328c0c40473c71ca11fd8303.zip gcc-fdf0b6ce6c1cfa1c328c0c40473c71ca11fd8303.tar.gz gcc-fdf0b6ce6c1cfa1c328c0c40473c71ca11fd8303.tar.bz2 |
coroutines: Fail with a sorry when presented with a VLA [PR 101765].
We do not support this yet.
Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
PR c++/101765
gcc/cp/ChangeLog:
* coroutines.cc (register_local_var_uses): Emit a sorry if
we encounter a VLA in the coroutine local variables.
gcc/testsuite/ChangeLog:
* g++.dg/coroutines/pr101765.C: New test.
Diffstat (limited to 'gcc/fortran/resolve.c')
0 files changed, 0 insertions, 0 deletions