This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]