[Bug c++/97216] ICE with (incorrect) spaceship operator declaration

2021-04-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97216 --- Comment #3 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #2) > It is ill-formed, because operator<=> can't return bool. And that's because <=> has to say if one operand is greater, equal, or less than the other. A bool c

[Bug c++/97216] ICE with (incorrect) spaceship operator declaration

2021-04-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97216 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/97216] ICE with (incorrect) spaceship operator declaration

2020-09-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97216 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1