[Bug c++/107918] P2468R2 and operator ambiguity

2022-11-29 Thread dacamara.cameron at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107918 Cameron changed: What|Removed |Added CC||dacamara.cameron at gmail dot com --- Commen

[Bug c++/94162] ICE [neg] bad return type in defaulted <=>

2021-08-08 Thread dacamara.cameron at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94162 --- Comment #10 from Cameron --- (In reply to Andrew Pinski from comment #9) > None of the testcases ICE in GCC 11+ I notice that if I change the repro to: #include struct S { int a; int* operator<=>(const S&) const = default; }; bool b