aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-patterns.cc
diff options
context:
space:
mode:
authorAndrea Corallo <andrea.corallo@arm.com>2023-02-02 17:25:05 +0100
committerAndrea Corallo <andrea.corallo@arm.com>2023-02-08 14:45:13 +0100
commitb1d2645883936093f0fdb885d53cca67cb193adf (patch)
tree55160bc59ee0a419b3761f9ab33584795265dd75 /gcc/tree-vect-patterns.cc
parent3d451c4228cc80c5ec3c4601118a1cf7a6f3d231 (diff)
downloadgcc-b1d2645883936093f0fdb885d53cca67cb193adf.zip
gcc-b1d2645883936093f0fdb885d53cca67cb193adf.tar.gz
gcc-b1d2645883936093f0fdb885d53cca67cb193adf.tar.bz2
aarch64: Fix return_address_sign_ab_exception.C regression
Hi all, this is to fix the regression of g++.target/aarch64/return_address_sign_ab_exception.C that I introduced with d8dadbc9a5199bf7bac1ab7376b0f84f45e94350. 'aarch_ra_sign_key' for aarch64 ended up being non defined in the opt file and the function attribute "branch-protection=pac-ret+leaf+b-key" stopped working as expected. This patch moves the definition of 'aarch_ra_sign_key' to the opt files for both Arm back-ends. Regards Andera Corallo gcc/ChangeLog: * config/aarch64/aarch64-protos.h (aarch_ra_sign_key): Remove declaration. * config/aarch64/aarch64.cc (aarch_ra_sign_key): Remove definition. * config/aarch64/aarch64.opt (aarch64_ra_sign_key): Rename to 'aarch_ra_sign_key'. * config/arm/aarch-common.cc (aarch_ra_sign_key): Remove declaration. * config/arm/arm-protos.h (aarch_ra_sign_key): Likewise. * config/arm/arm.cc (enum aarch_key_type): Remove definition. * config/arm/arm.opt: Define.
Diffstat (limited to 'gcc/tree-vect-patterns.cc')
0 files changed, 0 insertions, 0 deletions