> This fixes PR55882 - set_mem_attributes_minus_bitpos misses to > account for the to-be applied bitpos when computing MEM_ALIGN. > It extracts alignment from 't' instead of &t - bitpos. > > Bootstrapped and tested on x86_64-unknown-linux-gnu, bootstrap > and regtest running on mips. > > Does this look sensible?
I'm not sure, bitpos isn't taken into account in the other cases when the alignment is computed. adjust_address_1 is supposed to properly adjust the alignment by the time the offset is applied. -- Eric Botcazou