Re: [PATCH] c++/coro: ignore cleanup_point_exprs while expanding awaits [PR116793]

2024-09-26 Thread Jason Merrill
On 9/25/24 6:24 PM, Arsen Arsenović wrote: Tested on x86_64-pc-linux-gnu. OK for trunk? OK. TIA -- >8 -- If we reach a CLEANUP_POINT_EXPR while trying to walk statements, we actually care about the statement or statement list contained within it. Indeed, such a construction

[PATCH] c++/coro: ignore cleanup_point_exprs while expanding awaits [PR116793]

2024-09-25 Thread Arsen Arsenović
Tested on x86_64-pc-linux-gnu. OK for trunk? TIA -- >8 -- If we reach a CLEANUP_POINT_EXPR while trying to walk statements, we actually care about the statement or statement list contained within it. Indeed, such a construction started happening with r15-3513-g964577c31df206, aft