diff options
author | Kyrylo Tkachov <kyrylo.tkachov@arm.com> | 2023-04-18 12:15:35 +0100 |
---|---|---|
committer | Kyrylo Tkachov <kyrylo.tkachov@arm.com> | 2023-04-18 12:15:35 +0100 |
commit | ebaec582ca1ee33269724bff945a16655e487ad5 (patch) | |
tree | e67510c444dd16fd8ec50b641e1503a4741f1392 /gcc/ada/gcc-interface/utils.cc | |
parent | 2d70f3213fe4e76722cd55e48f8eb0820c56ec7a (diff) | |
download | gcc-ebaec582ca1ee33269724bff945a16655e487ad5.zip gcc-ebaec582ca1ee33269724bff945a16655e487ad5.tar.gz gcc-ebaec582ca1ee33269724bff945a16655e487ad5.tar.bz2 |
aarch64: Give hint for -mcpu options that match -march instead
We should redirect users of the erroneous -mcpu=armv8.2-a to use -march instead.
There is an equivalent hint for -march used with a CPU name.
Bootstrapped and tested on aarch64-none-linux-gnu.
gcc/ChangeLog:
* config/aarch64/aarch64.cc (aarch64_validate_mcpu): Add hint to use -march
if the argument matches that.
gcc/testsuite/ChangeLog:
* gcc.target/aarch64/spellcheck_11.c: New test.
Diffstat (limited to 'gcc/ada/gcc-interface/utils.cc')
0 files changed, 0 insertions, 0 deletions