https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98712
--- Comment #1 from Ryan Greenblatt <ryan_greenblatt at brown dot edu> --- I've also noticed some incorrect compiler errors when trying to default constexpr operator== in similar circumstances. I think the causes are the likely the same.