Re: [PATCH v2] c++, coroutines: Simplify separation of the user function body and ramp.

2024-08-05 Thread Jason Merrill
On 8/3/24 11:40 AM, Iain Sandoe wrote: On 2 Aug 2024, at 15:19, Jason Merrill wrote: On 8/2/24 6:50 AM, Iain Sandoe wrote: This version simplifies the process by extrating the second case directly typo thanks, fixed. +static bool +use_eh_spec_block (tree fn) +{ + return (flag_excepti

[PATCH v2] c++, coroutines: Simplify separation of the user function body and ramp.

2024-08-03 Thread Iain Sandoe
On 2 Aug 2024, at 15:19, Jason Merrill wrote: > On 8/2/24 6:50 AM, Iain Sandoe wrote: >> This version simplifies the process by extrating the second case directly > typo thanks, fixed. >> +static bool >>+use_eh_spec_block (tree fn) >>+{ >>+ return (flag_exceptions && flag_enforce_eh_specs >>+