https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121239
Patrick Palka <ppalka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2025-07-24 Status|UNCONFIRMED |SUSPENDED Ever confirmed|0 |1 CC| |jason at gcc dot gnu.org --- Comment #1 from Patrick Palka <ppalka at gcc dot gnu.org> --- The patch https://gcc.gnu.org/pipermail/gcc-patches/2025-July/690520.html in question will change the mangling of non-dependent rewritten comparison operators (as a consequence of fixing PR121179 fully): For f<int> in: #include <compare> struct A { friend auto operator<=>(const A&, const A&) = default; }; template<class T> decltype(T(),A()>A()) f(); int main() { f<int>(); } we'll mangle it as decltype (((int)()),(std::operator>((operator<=>)((A)(), (A)()), 0))) f<int>() instead of decltype (((int)()),((((A)())>((A)())))) f<int>()