diff options
author | Andreas Krebbel <krebbel@linux.ibm.com> | 2020-05-14 08:16:27 +0200 |
---|---|---|
committer | Andreas Krebbel <krebbel@linux.ibm.com> | 2020-05-14 08:16:27 +0200 |
commit | 868d351e232371eec4b40e83014a617d0d46f985 (patch) | |
tree | 2522293ac34cd5af3a0560d149c79f35da6d44ea /gcc/tree-inline.c | |
parent | d3e5bae174d9d2ed115a364d5b404d179458a622 (diff) | |
download | gcc-868d351e232371eec4b40e83014a617d0d46f985.zip gcc-868d351e232371eec4b40e83014a617d0d46f985.tar.gz gcc-868d351e232371eec4b40e83014a617d0d46f985.tar.bz2 |
IBM Z: stack clash prot: add missing updates of last_probe_offset
After emitting probes in a loop last_probe_offset needs to be updated.
Not doing this usually assumes a too low distance to the last access
when emitting the remainder leading to stack probes being omitted.
gcc/ChangeLog:
2020-05-14 Andreas Krebbel <krebbel@linux.ibm.com>
* config/s390/s390.c (allocate_stack_space): Add missing updates
of last_probe_offset.
gcc/testsuite/ChangeLog:
2020-05-14 Andreas Krebbel <krebbel@linux.ibm.com>
* gcc.target/s390/stack-clash-1.c: New test.
Diffstat (limited to 'gcc/tree-inline.c')
0 files changed, 0 insertions, 0 deletions