Re: [PATCH] c++, coroutines: Revise promise construction/destruction.

2024-09-04 Thread Jason Merrill
On 8/31/24 12:37 PM, Iain Sandoe wrote: tested on x86_64-darwin/linux powerpc64le-linux, OK for trunk? alternate suggestions? thanks, Iain --- 8< --- In examining the coroutine testcases for unexpected diagnostic output for 'Wall', I found a 'statement has no effect' warning for the promise con

[PATCH] c++, coroutines: Revise promise construction/destruction.

2024-08-31 Thread Iain Sandoe
tested on x86_64-darwin/linux powerpc64le-linux, OK for trunk? alternate suggestions? thanks, Iain --- 8< --- In examining the coroutine testcases for unexpected diagnostic output for 'Wall', I found a 'statement has no effect' warning for the promise construction in one case. In particular, the