https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108199
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andreas Krebbel from comment #5) > In: > > _1 = src_6(D)->a; > dst$val_9 = _1; > _2 = BIT_FIELD_REF <dst$val_9, 8, 0>; > _3 = _2 & 64; > if (_3 != 0) There is only 2 accesses going on in the above IR because SRA removed the 3rd when it replaced the access of dst.val with dst$val but didn't update BIT_FIELD_REF to remove the byteswap ...