Re: [PATCH] coroutines: Don't make duplicate frame copies of awaitables.

2020-03-02 Thread Nathan Sidwell
On 3/2/20 4:37 AM, Iain Sandoe wrote: Hi, this corrects a thinko that seemed initially to be a missed optimisation, but turns out to lead to wrong code in some cases. tested on x86_64 darwin, linux and powerpc linux OK for trunk? thanks Iain In general, we need to manage the lifetime of compil

[PATCH] coroutines: Don't make duplicate frame copies of awaitables.

2020-03-02 Thread Iain Sandoe
Hi, this corrects a thinko that seemed initially to be a missed optimisation, but turns out to lead to wrong code in some cases. tested on x86_64 darwin, linux and powerpc linux OK for trunk? thanks Iain In general, we need to manage the lifetime of compiler- generated awaitable instances in the