i386: Add a test for PR target/78585
authorH.J. Lu <hongjiu.lu@intel.com>
Tue, 9 Jan 2018 23:15:40 +0000 (23:15 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Tue, 9 Jan 2018 23:15:40 +0000 (15:15 -0800)
commit8080b14f01acf7d3cd3d126ef6a09ccf8a97a6f1
tree2bedf1e9852adead97e7634c2681332aa29664f6
parent8273aa77d4e122fd036b1555b1a6f2496887e481
i386: Add a test for PR target/78585

PR target/78585 has been fixed for GCC 7 by

commit 7ed04d053eead43d87dff40fb4e2904219afc4d5
Author: jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Wed Nov 30 13:02:07 2016 +0000

* config/i386/i386.c (dimode_scalar_chain::convert_op): Avoid
sharing the SUBREG rtx between move and following insn.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@243018 138bc75d-0d04-0410-961f-82ee72b054a4

PR target/78585:
* gcc.target/i386/pr78585.c: New test.

From-SVN: r256402
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr78585.c [new file with mode: 0644]