https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113063

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2023-12-18
     Ever confirmed|0                           |1

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed, also GCC ICEs with -O1 and above (when GCC is configured with
checking enabled which is the default for the trunk):
```
<source>: In function 'int main()':
<source>:11:27:   in 'constexpr' expansion of 'x.main()::X::operator<=>(x)'
<source>:7:14: internal compiler error: in cxx_eval_call_expression, at
cp/constexpr.cc:3013
    7 |         auto operator<=>(const X&) const = default;
      |              ^~~~~~~~
```

Reply via email to