https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88739
--- Comment #30 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > That said, the docs also refer to 'bit-field instructions' but do not > elaborate further -- I guess zero_extract is such but I'd have guessed > BIT_FIELD_REF (on trees) is as well. But yes, RTL expansion adjusts > things based on BITS_BIG_ENDIAN so it looks like GENERIC doesn't care > (or assumes BITS_BIG_ENDIAN == BYTES_BIG_ENDIAN). Yes, BYTES_BIG_ENDIAN is implicitly propagated to bits at the tree level. I don't think that we want to support BITS_BIG_ENDIAN != BYTES_BIG_ENDIAN at the tree level, that would be a nightmare.