https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102222
--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-11 branch has been updated by Andreas Krebbel <kreb...@gcc.gnu.org>: https://gcc.gnu.org/g:22b25535b8b2f9961e4772b1cc7cce5dc2f60719 commit r11-9025-g22b25535b8b2f9961e4772b1cc7cce5dc2f60719 Author: Andreas Krebbel <kreb...@linux.ibm.com> Date: Wed Sep 22 09:32:21 2021 +0200 IBM Z: Fix PR102222 Avoid emitting a strict low part move if the insv target actually affects the whole target reg. gcc/ChangeLog: PR target/102222 * config/s390/s390.c (s390_expand_insv): Emit a normal move if it is actually a full copy of the source operand into the target. Don't emit a strict low part move if source and target mode match. gcc/testsuite/ChangeLog: * gcc.target/s390/pr102222.c: New test. (cherry picked from commit a9b3c451be58f0fe660154323ace7ba72a4211ec)