PR target/78748: S/390: Fix ICE with ANDC splitter.
authorDominik Vogt <vogt@linux.vnet.ibm.com>
Mon, 19 Dec 2016 09:53:56 +0000 (09:53 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Mon, 19 Dec 2016 09:53:56 +0000 (09:53 +0000)
commitad7ab32ed443d716f45ed315aa5349981954aa6c
treea4b329f398660e47d560b530217bffa6e84d055f
parente01f223f28d94ececee29b8048434361de5cd40c
PR target/78748: S/390: Fix ICE with ANDC splitter.

gcc/ChangeLog:

2016-12-19  Dominik Vogt  <vogt@linux.vnet.ibm.com>

PR target/78748
* config/s390/s390.md ("*andc_split_<mode>"): Allow memory destination
only if it coincides with operand 2.

gcc/testsuite/ChangeLog:

2016-12-19  Dominik Vogt  <vogt@linux.vnet.ibm.com>

PR target/78748
* gcc.c-torture/compile/pr78748.c: New test.

From-SVN: r243793
gcc/ChangeLog
gcc/config/s390/s390.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr78748.c [new file with mode: 0644]