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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Daniel Houck from comment #0)
> Attempting to compile the following code produces an ICE.  The code may be
> ill-formed (I don't know if I'm reading the standard correctly when trying
> to figure that out)

It is ill-formed, because operator<=> can't return bool.

(In reply to Jakub Jelinek from comment #1)
> Most likely dup of PR97121

Yes, the ICE is fixed by the same commit as I noted in that PR, r11-5866

*** This bug has been marked as a duplicate of bug 97121 ***

Reply via email to