https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110512
--- Comment #5 from gnzlbg <gonzalo.gadeschi at gmail dot com> --- The patch for this bug in libc++ has been reviewed: https://reviews.llvm.org/D154305 I've submitted a patch for the same issue to libstdc++: https://gcc.gnu.org/pipermail/libstdc++/2023-July/056266.html