aboutsummaryrefslogtreecommitdiff
path: root/libgcc/libgcov-interface.c
diff options
context:
space:
mode:
authorAndrew Carlotti <andrew.carlotti@arm.com>2023-11-24 17:06:07 +0000
committerAndrew Carlotti <andrew.carlotti@arm.com>2023-12-16 00:38:40 +0000
commit8d30107455f2309854ced3d65fb07dc1f2c357c0 (patch)
tree62e7afee6c8d8980a9003dec74ebc7ff750cf91e /libgcc/libgcov-interface.c
parentea54b390aed306d10f79adf6ef4626ebeef901df (diff)
downloadgcc-8d30107455f2309854ced3d65fb07dc1f2c357c0.zip
gcc-8d30107455f2309854ced3d65fb07dc1f2c357c0.tar.gz
gcc-8d30107455f2309854ced3d65fb07dc1f2c357c0.tar.bz2
aarch64: Fix +nocrypto handling
Additionally, replace all checks for the AARCH64_FL_CRYPTO bit with checks for (AARCH64_FL_AES | AARCH64_FL_SHA2) instead. The value of the AARCH64_FL_CRYPTO bit within isa_flags is now ignored, but it is retained because removing it would make processing the data in option-extensions.def significantly more complex. This bug should have been picked up by an existing test, but a missing newline meant that the pattern incorrectly allowed "+crypto+nocrypto". gcc/ChangeLog: * common/config/aarch64/aarch64-common.cc (aarch64_get_extension_string_for_isa_flags): Fix generation of the "+nocrypto" extension. * config/aarch64/aarch64.h (AARCH64_ISA_CRYPTO): Remove. (TARGET_CRYPTO): Remove. * config/aarch64/aarch64-c.cc (aarch64_update_cpp_builtins): Don't use TARGET_CRYPTO. gcc/testsuite/ChangeLog: * gcc.target/aarch64/options_set_4.c: Add terminating newline. * gcc.target/aarch64/options_set_27.c: New test.
Diffstat (limited to 'libgcc/libgcov-interface.c')
0 files changed, 0 insertions, 0 deletions