https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113063
Patrick Palka <ppalka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org CC| |ppalka at gcc dot gnu.org --- Comment #3 from Patrick Palka <ppalka at gcc dot gnu.org> --- Seems the problem is that the first use of the operator<=> occurs inside an unevaluated context, and we forget to reset the context before synthesizing the function.