diff options
author | Andreas Krebbel <krebbel@linux.ibm.com> | 2020-12-07 09:42:39 +0100 |
---|---|---|
committer | Andreas Krebbel <krebbel@linux.ibm.com> | 2020-12-07 09:48:30 +0100 |
commit | bf615bf65a0035cac3d4ac229e6413aad3b1d44a (patch) | |
tree | 254a30305afa6e0dc2396c6a5b5f2fea8fc7ad2d /gcc/ada/gcc-interface | |
parent | ad9c120a019ba4222bb062017da2db9711652dc3 (diff) | |
download | gcc-bf615bf65a0035cac3d4ac229e6413aad3b1d44a.zip gcc-bf615bf65a0035cac3d4ac229e6413aad3b1d44a.tar.gz gcc-bf615bf65a0035cac3d4ac229e6413aad3b1d44a.tar.bz2 |
IBM Z: Change Pmode to word_mode for stack probes
In s390.c we are still using Pmode for the stack probes. This breaks
with -m31 -mzarch where Pmode != word_mode.
The patch also adds a new target check to s390.exp which allows us to
implement zarch specific checks in the testcases.
gcc/ChangeLog:
* config/s390/s390.c (s390_emit_stack_probe): Change Pmode to
word_mode.
gcc/testsuite/ChangeLog:
* gcc.target/s390/s390.exp: New target check s390_zarch.
* gcc.target/s390/stack-clash-1.c: Use s390_zarch instead of lp64.
* gcc.target/s390/stack-clash-2.c: Likewise.
* gcc.target/s390/stack-clash-3.c: Likewise.
* gcc.target/s390/stack-clash-5.c: New test.
Diffstat (limited to 'gcc/ada/gcc-interface')
0 files changed, 0 insertions, 0 deletions