https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105475
--- Comment #3 from Arsen Arsenović <arsen at gcc dot gnu.org> --- ah, seems that we're missing handling of error_mark_node in a few places while processing a coroutine, causing the middle-end to be confused later. I'll leave that for later.