https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117788
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- It is very much possible it actually is that simple, the overloaded operator behavior is described elsewhere - https://eel.is/c++draft/class.compare so maybe what is written there isn't affected by wording changes in https://eel.is/c++draft/expr.rel and https://eel.is/c++draft/expr.eq