https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105629
--- Comment #5 from Hans-Peter Nilsson <hp at gcc dot gnu.org> --- Additional observation: the diff is local to functions f5 and f17 (in g++.dg/opt/pr94589-2.C), i.e. "reduced" to (for reference only): A bool f5 (double i, double j) { auto c = i <=> j; return c >= 0; } A bool f17 (double i) { auto c = i <=> 5.0; return c >= 0; }