Re: [pushed] c++, coroutines: Check for malformed functions before splitting.

2024-08-21 Thread Jason Merrill
On 8/21/24 4:28 AM, Iain Sandoe wrote: tested on x86_64-darwin, powerpc64-linux and against cppcoro and folly coroutines tests, pushed to trunk as obvious, thanks, Iain --- 8< --- This performs the same basic check that is done by finish_function to catch cases where the function is so badly ma

[pushed] c++, coroutines: Check for malformed functions before splitting.

2024-08-21 Thread Iain Sandoe
tested on x86_64-darwin, powerpc64-linux and against cppcoro and folly coroutines tests, pushed to trunk as obvious, thanks, Iain --- 8< --- This performs the same basic check that is done by finish_function to catch cases where the function is so badly malformed that we do not have a consistent