https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102125
--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Earnshaw <rearn...@gcc.gnu.org>: https://gcc.gnu.org/g:408e8b906632f215f6652b8851bba612cde07c25 commit r12-3480-g408e8b906632f215f6652b8851bba612cde07c25 Author: Richard Earnshaw <rearn...@arm.com> Date: Thu Sep 9 10:56:01 2021 +0100 rtl: directly handle MEM in gen_highpart [PR102125] gen_lowpart_general handles forming a lowpart of a MEM by using adjust_address to rework and validate a new version of the MEM. Do the same for gen_highpart rather than calling simplify_gen_subreg for this case. gcc/ChangeLog: PR target/102125 * emit-rtl.c (gen_highpart): Use adjust_address to handle MEM rather than calling simplify_gen_subreg.