S/390: Fix alignment check for literal pool references.
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Mon, 18 Jul 2016 10:47:09 +0000 (10:47 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Mon, 18 Jul 2016 10:47:09 +0000 (10:47 +0000)
commit54158a1aa94f7b75f59d6ca8d6ca7ebfc11e1673
tree551d229cd8785ac2afb871f356d248c72a6a7a94
parent2e7565b2681274a88ec2c74c6486ca4657295d21
S/390: Fix alignment check for literal pool references.

gcc/ChangeLog:

2016-07-18  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

* config/s390/s390.c (s390_encode_section_info): Always set
notaligned marker if mode size is 0 or no MEM_ALIGN info could be
found.

gcc/testsuite/ChangeLog:

2016-07-18  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

* gcc.target/s390/nolrl-1.c: New test.

From-SVN: r238427
gcc/ChangeLog
gcc/config/s390/s390.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/s390/nolrl-1.c [new file with mode: 0644]