https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83699
--- Comment #3 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> --- The expmed.c patch is probably a pessimisation in this case. extract_bit_field_as_Subreg should probably check that the REGMODE_NATURAL_SIZE of the inner and outer modes are the same. I'll do that as well, but we should probably fix the LRA problem while it's visible.