aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-inline.c
diff options
context:
space:
mode:
authorAndreas Krebbel <krebbel@linux.ibm.com>2020-05-14 08:16:27 +0200
committerGiuliano Belinassi <giuliano.belinassi@usp.br>2020-08-17 13:03:18 -0300
commit9f0d19ba702cfff8b616e423f02dd6bfd766967f (patch)
tree13c7a4ca45b87394b2fc1b83216b3cff5726e556 /gcc/tree-inline.c
parent53894bcba97d7698d27aadb8581549603a8d8b6b (diff)
downloadgcc-9f0d19ba702cfff8b616e423f02dd6bfd766967f.zip
gcc-9f0d19ba702cfff8b616e423f02dd6bfd766967f.tar.gz
gcc-9f0d19ba702cfff8b616e423f02dd6bfd766967f.tar.bz2
Make anti_adjust_stack_and_probe_stack_clash extern and use it for Z
When compiling with -mbackchain -fstack-clash-protection currently no probes are emitted. This patch adjusts the "allocate_stack" expander to call anti_adjust_stack_and_probe_stack_clash when needed. In order to do this I had to export that function from explow.c. Ok for mainline? gcc/ChangeLog: 2020-05-14 Andreas Krebbel <krebbel@linux.ibm.com> * config/s390/s390.md ("allocate_stack"): Call anti_adjust_stack_and_probe_stack_clash when stack clash protection is enabled. * explow.c (anti_adjust_stack_and_probe_stack_clash): Remove prototype. Remove static. * explow.h (anti_adjust_stack_and_probe_stack_clash): Add prototype. gcc/testsuite/ChangeLog: 2020-05-14 Andreas Krebbel <krebbel@linux.ibm.com> * gcc.target/s390/stack-clash-3.c: New test.
Diffstat (limited to 'gcc/tree-inline.c')
0 files changed, 0 insertions, 0 deletions