aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/ChangeLog-2011
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2025-06-08 14:28:01 +0100
committerIain Sandoe <iain@sandoe.co.uk>2025-06-17 08:11:40 +0300
commite2bff264e8b92426b13aacec3087cb97971ec9b9 (patch)
tree706032af099594473760fc13273dc99115524f50 /gcc/fortran/ChangeLog-2011
parent3b95be7bd1882add4b1e22f6b70bc130cd465eca (diff)
downloadgcc-master.zip
gcc-master.tar.gz
gcc-master.tar.bz2
c++, coroutines: Handle unevaluated contexts.HEADtrunkmaster
From [expr.await]/2 We should not accept co_await, co_yield in unevaluated contexts. Currently (see PR68604) we do not mark typeid expressions as unevaluated since the standard rules mean that this depends on the value type. gcc/cp/ChangeLog: * coroutines.cc (finish_co_await_expr): Do not allow in an unevaluated context. (finish_co_yield_expr): Likewise. gcc/testsuite/ChangeLog: * g++.dg/coroutines/unevaluated.C: New test. Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
Diffstat (limited to 'gcc/fortran/ChangeLog-2011')
0 files changed, 0 insertions, 0 deletions