diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2021-05-16 13:46:06 +0000 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2021-05-16 13:46:06 +0000 |
commit | f1146b50e8af87dc9da25cf6d8633e91dac07e1a (patch) | |
tree | f95e69028358152d72dec0173d913fe565952258 /gcc/fold-const-call.h | |
parent | 1ba3f0ef546ec83fe28fef7f34e0ee9e52c6477f (diff) | |
download | gcc-f1146b50e8af87dc9da25cf6d8633e91dac07e1a.zip gcc-f1146b50e8af87dc9da25cf6d8633e91dac07e1a.tar.gz gcc-f1146b50e8af87dc9da25cf6d8633e91dac07e1a.tar.bz2 |
testsuite/arm: Improve unsigned-float.c
The test requires an FPU, so use -march=armv7-a+fp -mfpu=auto instead
of -march=armv7-a.
We also remove dg-require-effective-target arm_fp_ok, but keep
dg-add-options arm_fp: this enables the test to pass on arm-eabi
configured with default cpu/fpu/mode.
dg-require-effective-target arm_fp_ok fails on such a configuration
for lack of FPU, since dg-options are not taken into account by
dg-require-effective-target.
Add -march=armv7-a+fp -mfpu=auto is sufficient for arm_fp options to
be acceptable.
This enables the test to pass on all the arm-eabi configurations I'm
testing, as well as arm-linux-gnueabi when forcing -march=armv5t.
2021-05-16 Christophe Lyon <christophe.lyon@linaro.org>
gcc/testsuite/
* gcc.target/arm/unsigned-float.c: Remove arm_fp_ok, adjust
dg-options.
Diffstat (limited to 'gcc/fold-const-call.h')
0 files changed, 0 insertions, 0 deletions