testsuite/arm: Remove useless -mfloat-abi option
authorChristophe Lyon <christophe.lyon@linaro.org>
Tue, 21 Apr 2020 16:04:34 +0000 (16:04 +0000)
committerChristophe Lyon <christophe.lyon@linaro.org>
Tue, 23 Mar 2021 15:11:48 +0000 (15:11 +0000)
commit451c51e8ed385d06d80776168897a1b2a2e5d870
treee1f58bc68d5fe802537ded4310e8c0cbf238ecbb
parentaa706c46366553081a618502e9d71530cfa74dfa
testsuite/arm: Remove useless -mfloat-abi option

These tests pass with their current dg-add-options, no need to force
-mfloat=abi.

I've noticed no impact on armv8_1m-shift-imm-1.c and
armv8_1m-shift-reg-1.c, bf16_reinterpret.c now passes on
arm-linux-gnueabi and bf16_dup.c now passes on arm-linux-gnueabihf.

This allows pr51534.c to pass when forcing -mfloat-abi=soft in
runtestflags, otherwise we get an error '-mfloat-abi=soft and
-mfloat-abi=hard may not be used together' because we try to compile
with both flags.

2021-03-19  Christophe Lyon  <christophe.lyon@linaro.org>

gcc/testsuite/
* gcc.target/arm/armv8_1m-shift-imm-1.c: Remove -mfloat=abi option.
* gcc.target/arm/armv8_1m-shift-reg-1.c: Likewise.
* gcc.target/arm/bf16_dup.c: Likewise.
* gcc.target/arm/bf16_reinterpret.c: Likewise.
* gcc.target/arm/pr51534.c: Remove -mfloat=abi option.
gcc/testsuite/gcc.target/arm/armv8_1m-shift-imm-1.c
gcc/testsuite/gcc.target/arm/armv8_1m-shift-reg-1.c
gcc/testsuite/gcc.target/arm/bf16_dup.c
gcc/testsuite/gcc.target/arm/bf16_reinterpret.c
gcc/testsuite/gcc.target/arm/pr51534.c