S/390: PR68015 Fix ICE in s390_emit_compare
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Thu, 22 Oct 2015 08:24:01 +0000 (08:24 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Thu, 22 Oct 2015 08:24:01 +0000 (08:24 +0000)
commit7477de01a8c9c4f496d6f4daea90255ec0aad272
tree95ae2b7b6b9c76277353fb75bf90fdfb702956b6
parent597bb9db4ac508410b42b53480451c7b521b8661
S/390: PR68015 Fix ICE in s390_emit_compare

gcc/ChangeLog:

2015-10-22  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

PR target/68015
* config/s390/s390.md (mov<mode>cc): Emit compare only if we don't
already have a comparison result.

gcc/testsuite/ChangeLog:

2015-10-22  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

PR target/68015
* gcc.target/s390/pr68015.c: New test.

From-SVN: r229163
gcc/ChangeLog
gcc/config/s390/s390.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/s390/pr68015.c [new file with mode: 0644]