https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96141
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|UNCONFIRMED |RESOLVED --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This was fixed on the trunk and for GCC 10.3 with PR 95822. So marking this as a dup. Note I had to change one thing slightly: constexpr COROUTINE_IMPL_NS::suspend_always final_suspend() const noexcept(true) { return {}; } Notice the noexcept(true) there. *** This bug has been marked as a duplicate of bug 95822 ***