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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
            Summary|Redeclaration of explicitly |defaulted friend comparison
                   |defaulted comparison        |operator and redeclaration
                   |operator makes it undefined |makes it not "defined"
   Last reconfirmed|                            |2024-08-20

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed. Looks like GCC loses it was defaulted.
having a full definition rather than defaulted allows it to work.
Also note it is only the friend definition which was defaulted where GCC loses
it was defaulted.

Reply via email to