https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107346
--- Comment #4 from avieira at gcc dot gnu.org --- Funnily enough, if I transform the Int24 into a 32-bit integer in the testcase and disable all bitfield lowering just to make sure, I get the same failure. I tried using __attribute__((packed)) in C to reproduce this, but I keep getting a 32-bit offset... Either way, I will test a patch where vect_check_gather_scatter bails out if pbitpos isn't a multiple of BITS_PER_UNIT.