https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125378
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|ICE with rewritten < from |[16/17 Regression] ICE with
|short-returning operator<=> |rewritten < from
|in template |short-returning operator<=>
| |in template
Keywords|ice-on-invalid-code |ice-on-valid-code
Ever confirmed|0 |1
CC| |mpolacek at gcc dot gnu.org,
| |ppalka at gcc dot gnu.org
Target Milestone|--- |16.2
Priority|P3 |P2
Last reconfirmed| |2026-05-19
Status|UNCONFIRMED |NEW
--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Started with r16-2519:
commit ba5a6787374dea3e90f09771134d16b9f6d2714e
Author: Patrick Palka <[email protected]>
Date: Fri Jul 25 10:55:35 2025 -0400
c++: more name lookup for non-dep rewritten cmp ops
We compiled it fine before and clang++ also compiles this.