Re: [PATCH] coroutines: diagnose usage of alloca in coroutines

2024-08-21 Thread Jason Merrill
On 8/7/24 9:15 AM, Arsen Arsenović wrote: Tested on x86_64-pc-linux-gnu. OK for trunk? -- >8 -- We do not support it currently, and the resulting memory can only be used inside a single resumption, so best not confuse the user with it. PR c++/115858 - Incompatibility of coroutin

[PATCH] coroutines: diagnose usage of alloca in coroutines

2024-08-07 Thread Arsen Arsenović
Tested on x86_64-pc-linux-gnu. OK for trunk? -- >8 -- We do not support it currently, and the resulting memory can only be used inside a single resumption, so best not confuse the user with it. PR c++/115858 - Incompatibility of coroutines and alloca() gcc/ChangeLog: PR