Re: [PATCH] coroutines: Pass class reference to promise param preview [PR94682]

2020-04-21 Thread Nathan Sidwell
On 4/21/20 6:42 AM, Iain Sandoe wrote: Hi As reported in the PR, per [dcl.fct.def.coroutine]/4 we should be passing a reference to the object to the promise parameter preview, and we are currently passing a pointer (this). gcc/cp/ChangeLog: 2020-04-21 Iain Sandoe * coroutines.cc

[PATCH] coroutines: Pass class reference to promise param preview [PR94682]

2020-04-21 Thread Iain Sandoe
Hi As reported in the PR, per [dcl.fct.def.coroutine]/4 we should be passing a reference to the object to the promise parameter preview, and we are currently passing a pointer (this). tested on x86_64-darwin, and in progress on x86_64/powerpc64-linux. OK for master if regtesting is successful on