https://github.com/gcc-mirror/gcc/blob/c27ddea7465bfbc3b7077ddb13889014c9fd995e/libstdc%2B%2B-v3/include/std/coroutine#L346 The standard bug is fixed
The master branch has been updated by Jonathan Wakely <redi@gcc.gnu.org>: https://gcc.gnu.org/g:b74ab7a1609f01afaab9b82cfabfb96ae9e1145d commit r13-3060-gb74ab7a1609f01afaab9b82cfabfb96ae9e1145d Author: Jonathan Wakely <jwakely@redhat.com> Date: Tue Oct 4 09:37:14 2022 +0100 libstdc++: Enable std::hash<coroutine_handle<P>> [PR107139] Everything that <coroutine> depends on is available for freestanding now. libstdc++-v3/ChangeLog: PR libstdc++/107139 * include/std/coroutine: Remove all _GLIBCXXHOSTED preprocessor conditionals.
Jwakely has fixed that