Re: [PATCH] coroutines: Implement n4849 changes to exception handling.

2020-03-25 Thread Nathan Sidwell
On 3/20/20 10:54 AM, Iain Sandoe wrote: diff --git a/gcc/cp/coroutines.cc b/gcc/cp/coroutines.cc index a943ba01de6..bcf3514bbcf 100644 --- a/gcc/cp/coroutines.cc +++ b/gcc/cp/coroutines.cc @@ -1348,6 +1348,7 @@ struct coro_aw_data tree actor_fn; /* Decl for context. */ tree coro_fp;

[PATCH] coroutines: Implement n4849 changes to exception handling.

2020-03-20 Thread Iain Sandoe
Hi, This is the first of two remaining changes needed to bring the GCC implementation into line with the standard draft at n4849. The standard now calls up a revised mechanism to handle exceptions where exceptions thrown by the await_resume () method of the initial suspend expression are cons