https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96504
--- Comment #5 from Iain Sandoe <iains at gcc dot gnu.org> --- (In reply to H.J. Lu from comment #4) > __builtin_coro_resume and __builtin_coro_destroy delete the memory. > Everything goes downhill after it. thanks for the analysis - I will hopefully take a look later.