This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r268203 - in /branches/c++-coroutines: ChangeLo...
- From: iains at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 23 Jan 2019 20:36:44 -0000
- Subject: r268203 - in /branches/c++-coroutines: ChangeLo...
Author: iains
Date: Wed Jan 23 20:36:44 2019
New Revision: 268203
URL: https://gcc.gnu.org/viewcvs?rev=268203&root=gcc&view=rev
Log:
c++-coroutines - add a "suspended" field to the coro frame.
The idea is that debug (or maybe even regular) builds of library
code could use this to ensure [more] correctness. At least, to
check that there's no attempt to resume a coro that's not suspended.
2019-01-23 Iain Sandoe <iain@sandoe.co.uk>
* gcc/cp/coroutines.cc (morph_fn_to_coro): Add a "suspended" field
to the coro frame and initialise it.
Modified:
branches/c++-coroutines/ChangeLog.coroutines
branches/c++-coroutines/gcc/REVISION
branches/c++-coroutines/gcc/cp/coroutines.cc