aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/module.cc
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2024-01-24 18:50:19 +0000
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2024-01-25 17:23:05 +0000
commit305fe4f136a3a3a78377a48c55d546000a3ba529 (patch)
treeb3bfd48c413b418d957d72693d9314d3981ba991 /gcc/cp/module.cc
parent0614eb8440b15d238565a8124eb1b1cb4710dc85 (diff)
downloadgcc-305fe4f136a3a3a78377a48c55d546000a3ba529.zip
gcc-305fe4f136a3a3a78377a48c55d546000a3ba529.tar.gz
gcc-305fe4f136a3a3a78377a48c55d546000a3ba529.tar.bz2
aarch64: Fix eh_return for -mtrack-speculation [PR112987]
Recent commit introduced a conditional branch in eh_return epilogues that is not compatible with speculation tracking: commit 426fddcbdad6746fe70e031f707fb07f55dfb405 Author: Szabolcs Nagy <szabolcs.nagy@arm.com> CommitDate: 2023-11-27 15:52:48 +0000 aarch64: Use br instead of ret for eh_return Refactor the compare zero and jump pattern and use it to fix the issue. gcc/ChangeLog: PR target/112987 * config/aarch64/aarch64.cc (aarch64_gen_compare_zero_and_branch): New. (aarch64_expand_epilogue): Use the new function. (aarch64_split_compare_and_swap): Likewise. (aarch64_split_atomic_op): Likewise.
Diffstat (limited to 'gcc/cp/module.cc')
0 files changed, 0 insertions, 0 deletions