https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113529

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Incorrect result of         |Incorrect result of
                   |requires-expression in case |requires-expression in case
                   |of function call ambiguity  |of function call ambiguity
                   |                            |and `operator<=>`
   Last reconfirmed|                            |2024-01-21
           Keywords|                            |wrong-code
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.

I just tried a normal function and not operator<=> and GCC does the correct
thing.

It is definitely `operator<=>` related because removing `operator<=>` and
having an ambigous `operator<` does the correct thing too.

Reply via email to