diff options
author | Richard Earnshaw <rearnsha@arm.com> | 2023-11-02 15:28:58 +0000 |
---|---|---|
committer | Richard Earnshaw <rearnsha@arm.com> | 2023-11-13 14:15:54 +0000 |
commit | ed52bc2e30cb7992e8a88113481bde0cb1ec4963 (patch) | |
tree | 8f780b17c9ebd329eaf6ab1735353af8cada62bb /gcc/cppdefault.cc | |
parent | ccbc8bd4d4df71c9a55722761bf9c7d3c924d8b9 (diff) | |
download | gcc-ed52bc2e30cb7992e8a88113481bde0cb1ec4963.zip gcc-ed52bc2e30cb7992e8a88113481bde0cb1ec4963.tar.gz gcc-ed52bc2e30cb7992e8a88113481bde0cb1ec4963.tar.bz2 |
arm: testsuite: avoid hard-float ABI incompatibility with -march
A number of tests in the gcc testsuite, especially for arm-specific
targets, add various flags to control the architecture. These run
into problems when the compiler is configured with -mfpu=auto if the
new architecture lacks an architectural feature that implies we have
floating-point instructions.
The testsuite makes this worse as it falls foul of this requirement in
the base architecture strings provided by target-supports.exp.
To fix this we add "+fp", or something equivalent to this, to all the
base architecture specifications. The feature will be ignored if the
float ABI is set to soft.
gcc/testsuite:
* lib/target-supports.exp (check_effective_target_arm_arch_FUNC_ok):
Add base FPU specifications to all architectures that can support
one.
Diffstat (limited to 'gcc/cppdefault.cc')
0 files changed, 0 insertions, 0 deletions