https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100611
John Eivind Helset <jehelset at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jehelset at gmail dot com --- Comment #2 from John Eivind Helset <jehelset at gmail dot com> --- Maybe related: https://godbolt.org/z/vsc8MYTcn In my case it seemed like co_awaiting expressions that involved compiler-generator constructors binding references to pr-values was problematic, or something along these lines. Was a problem on 11.1. Couldn't reproduce on 10.2.