https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117849
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #3) > Reduced without any headers: > constexpr bool operator==(const i &) > { return true;} Note that operator== should have been: ``` constexpr bool operator==(const i &) const { return true;} ``` I copied and pasted the wrong version.