diff options
author | Andreas Krebbel <krebbel@linux.ibm.com> | 2020-05-14 08:16:27 +0200 |
---|---|---|
committer | Giuliano Belinassi <giuliano.belinassi@usp.br> | 2020-08-17 13:03:18 -0300 |
commit | 5deb1bf3434e6dddbeb537e7a7c3bb4f9e499b74 (patch) | |
tree | 11551cc2874bd3a59dbefb88f2c0fcda23f41ad2 /gcc/tree-inline.c | |
parent | 9f0d19ba702cfff8b616e423f02dd6bfd766967f (diff) | |
download | gcc-5deb1bf3434e6dddbeb537e7a7c3bb4f9e499b74.zip gcc-5deb1bf3434e6dddbeb537e7a7c3bb4f9e499b74.tar.gz gcc-5deb1bf3434e6dddbeb537e7a7c3bb4f9e499b74.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