r278360 - in /branches/c++-coroutines: ChangeLo...
iains@gcc.gnu.org
iains@gcc.gnu.org
Sat Nov 16 17:21:00 GMT 2019
Author: iains
Date: Sat Nov 16 17:21:35 2019
New Revision: 278360
URL: https://gcc.gnu.org/viewcvs?rev=278360&root=gcc&view=rev
Log:
c++-coroutines - Tidy up the builtins.
The ABI group decided not to have a mechanism for determining that a
coroutine is suspended, so remove the builtin supporting that. We don't
use a builtin to provide the noop coroutine, so remove that. Remove the
chunks from the library header and the testsuite.
2019-11-16 Iain Sandoe <iain@sandoe.co.uk>
gcc/
* coroutine-builtins.def: Tidy whitespace.
(BUILT_IN_CORO_IS_SUSPENDED): Delete.
(BUILT_IN_CORO_NOOP): Delete.
* coroutine-passes.cc (lower_coro_builtin): Remove lowering for
__builtin_coro_suspended.
gcc/testsuite/
* g++.dg/coroutines/coro-builtins.C: Remove checks for
__builtin_coro_suspended, __builtin_coro_noop.
* g++.dg/coroutines/torture/check-suspended.C: Remove.
* g++.dg/coroutines/torture/mid-suspend-destruction-0.C: Only
test suspended state if __builtin_coro_suspended is available.
libstdc++-v3/
* include/experimental/coroutine: Remove references to
__builtin_coro_suspended.
Modified:
branches/c++-coroutines/libstdc++-v3/include/experimental/coroutine
Changes in other areas also in this revision:
Removed:
branches/c++-coroutines/gcc/testsuite/g++.dg/coroutines/torture/check-suspended.C
Modified:
branches/c++-coroutines/ChangeLog.coroutines
branches/c++-coroutines/gcc/coroutine-builtins.def
branches/c++-coroutines/gcc/coroutine-passes.cc
branches/c++-coroutines/gcc/testsuite/g++.dg/coroutines/coro-builtins.C
branches/c++-coroutines/gcc/testsuite/g++.dg/coroutines/torture/mid-suspend-destruction-0.C
More information about the Libstdc++-cvs
mailing list