https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92847
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- Although it's still ambiguous with that fixed. There are some known issues with the default comparisons feature in C++20, this might be one of them.