aboutsummaryrefslogtreecommitdiff
path: root/gcc/go
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2023-09-12 16:05:11 +0100
committerRichard Sandiford <richard.sandiford@arm.com>2023-09-12 16:05:11 +0100
commitf87028a905059573ae7fdfe526d034fd70b3bcae (patch)
tree060a68e7c9ca937ad4767cd32a12112177edd2e5 /gcc/go
parentfee0a18abfdd4874194abd149943fa7c77a29b7c (diff)
downloadgcc-f87028a905059573ae7fdfe526d034fd70b3bcae.zip
gcc-f87028a905059573ae7fdfe526d034fd70b3bcae.tar.gz
gcc-f87028a905059573ae7fdfe526d034fd70b3bcae.tar.bz2
aarch64: Simplify probe of final frame allocation
Previous patches ensured that the final frame allocation only needs a probe when the size is strictly greater than 1KiB. It's therefore safe to use the normal 1024 probe offset in all cases. The main motivation for doing this is to simplify the code and remove the number of special cases. gcc/ * config/aarch64/aarch64.cc (aarch64_allocate_and_probe_stack_space): Always probe the residual allocation at offset 1024, asserting that that is in range. gcc/testsuite/ * gcc.target/aarch64/stack-check-prologue-17.c: Expect the probe to be at offset 1024 rather than offset 0. * gcc.target/aarch64/stack-check-prologue-18.c: Likewise. * gcc.target/aarch64/stack-check-prologue-19.c: Likewise.
Diffstat (limited to 'gcc/go')
0 files changed, 0 insertions, 0 deletions