https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88948
--- Comment #6 from uros at gcc dot gnu.org --- Author: uros Date: Sun Jan 27 17:42:58 2019 New Revision: 268312 URL: https://gcc.gnu.org/viewcvs?rev=268312&root=gcc&view=rev Log: PR target/88948 * rtl.h (prepare_copy_insn): New prototype. * gcse.c (prepare_copy_insn): New function, split out from process_insert_insn. (process_insert_insn): Use prepare_copy_insn. * store-motion.c (replace_store_insn): Use prepare_copy_insn instead of gen_move_insn. testsuite/ChangeLog: PR target/88948 * gcc.target/i386/pr88948.c: New test. Added: branches/gcc-7-branch/gcc/testsuite/gcc.target/i386/pr88948.c Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/gcse.c branches/gcc-7-branch/gcc/rtl.h branches/gcc-7-branch/gcc/store-motion.c branches/gcc-7-branch/gcc/testsuite/ChangeLog