https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92615
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Fri Dec 20 16:57:21 2019 New Revision: 279651 URL: https://gcc.gnu.org/viewcvs?rev=279651&root=gcc&view=rev Log: Backported from mainline 2019-11-23 Jakub Jelinek <ja...@redhat.com> PR target/92615 * config/i386/i386.c (ix86_md_asm_adjust): If dest_mode is GET_MODE (dest), is not QImode, using ZERO_EXTEND and dest is not register_operand, force x into register before storing it into dest. Formatting fix. * gcc.target/i386/pr92615.c: New test. Added: branches/gcc-9-branch/gcc/testsuite/gcc.target/i386/pr92615.c Modified: branches/gcc-9-branch/gcc/ChangeLog branches/gcc-9-branch/gcc/config/i386/i386.c branches/gcc-9-branch/gcc/testsuite/ChangeLog