https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93582
--- Comment #24 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 47826 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47826&action=edit gcc10-pr93582.patch Untested patch for the first step, going to test this now on both little and big endian. If that works, my preference would be try to deal with the composition from multiple stores without byte aligned everything next, and only then start thinking about factoring stuff out etc.