https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98731
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2021-01-19 Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org Status|UNCONFIRMED |ASSIGNED Ever confirmed|0 |1 --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- I think we just hash the bytes of the storage, but assume the first bytes are populated. For a bitset<2> we have an unsigned long long where only the two least significant bits are used. For LE they're in the first byte, but for BE they're in the last byte.