S/390: Fix PR80725.
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Wed, 24 May 2017 11:36:54 +0000 (11:36 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Wed, 24 May 2017 11:36:54 +0000 (11:36 +0000)
commit00e0af8d15c7a2cdbb6ed8c171f4558a7aeb8599
treec5a6369c10b3f9004e91435c53ee4a07ddb562bc
parentef4c5e7855ea00a62487c0d34915d66946032172
S/390: Fix PR80725.

gcc/ChangeLog:

2017-05-24  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

PR target/80725
* config/s390/s390.c (s390_check_qrst_address): Check incoming
address against address_operand predicate.
* config/s390/s390.md ("*indirect_jump"): Swap alternatives.

gcc/testsuite/ChangeLog:

2017-05-24  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

* gcc.target/s390/pr80725.c: New test.

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