Re: [PATCH v2] c++, coroutines: Separate allocator work from the ramp body build.

2024-08-22 Thread Iain Sandoe
> On 22 Aug 2024, at 21:27, Jason Merrill wrote: > > On 8/22/24 3:43 PM, Iain Sandoe wrote: >>> On 22 Aug 2024, at 17:47, Jason Merrill wrote: >>> On 8/22/24 12:35 PM, Iain Sandoe wrote: > >> +build_coroutine_frame_delete_expr (tree coro_fp, tree orig, tree >> frame_size, >> +

Re: [PATCH v2] c++, coroutines: Separate allocator work from the ramp body build.

2024-08-22 Thread Jason Merrill
On 8/22/24 3:43 PM, Iain Sandoe wrote: On 22 Aug 2024, at 17:47, Jason Merrill wrote: On 8/22/24 12:35 PM, Iain Sandoe wrote: +build_coroutine_frame_delete_expr (tree coro_fp, tree orig, tree frame_size, + tree promise_type, location_t loc) +{ Here it seems

Re: [PATCH v2] c++, coroutines: Separate allocator work from the ramp body build.

2024-08-22 Thread Iain Sandoe
Hi Jason > On 22 Aug 2024, at 17:47, Jason Merrill wrote: > > On 8/22/24 12:35 PM, Iain Sandoe wrote: >> Hi Jason, >> Firstly, Arsen has WIP to revise the allocation / deallocation to deal with >> coroutine frames that are more aligned than 2 * sizeof (pointer). We will >> also >> be consideri

Re: [PATCH v2] c++, coroutines: Separate allocator work from the ramp body build.

2024-08-22 Thread Jason Merrill
On 8/22/24 12:35 PM, Iain Sandoe wrote: Hi Jason, Firstly, Arsen has WIP to revise the allocation / deallocation to deal with coroutine frames that are more aligned than 2 * sizeof (pointer). We will also be considering Lewis' P2014 (use of the aligned allocator). So this patch is very much a