[ARM, testsuite] Add -mfloat-abi=hard to arm_neon_ok
authorChristophe Lyon <christophe.lyon@linaro.org>
Mon, 26 Jun 2017 09:25:55 +0000 (09:25 +0000)
committerChristophe Lyon <clyon@gcc.gnu.org>
Mon, 26 Jun 2017 09:25:55 +0000 (11:25 +0200)
commitc8e3c356e0b7b3a632c6230b7ad732e4cdf03634
tree11c50b6106b291d2cd8045cd272e1124e6134f4c
parent25853b33482749fb6a07336ea3790a45cc1752f7
[ARM, testsuite] Add -mfloat-abi=hard to arm_neon_ok

2017-06-02  Christophe Lyon  <christophe.lyon@linaro.org>

gcc/testsuite/
* lib/target-supports.exp
(check_effective_target_arm_neon_ok_nocache): Add flags with
-mfloat-abi=hard. Include arm_neon.h.
(check_effective_target_arm_neon_ok_no_float_abi_nocache): New.
(check_effective_target_arm_neon_ok_no_float_abi): New.
* gcc.target/arm/lto/pr65837_0.c: Require
arm_neon_ok_no_float_abi. Add -mfpu=neon to dg-lto-options.
* gcc.target/arm/lto/pr65837-attr_0.c: Require
arm_neon_ok_no_float_abi. Remove dg-suppress-ld-options.

gcc/
* doc/sourcebuild.texi (ARM-specific attributes): Document new
arm_neon_ok_no_float_abi effective target.

From-SVN: r249639
gcc/ChangeLog
gcc/doc/sourcebuild.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/lto/pr65837-attr_0.c
gcc/testsuite/gcc.target/arm/lto/pr65837_0.c
gcc/testsuite/lib/target-supports.exp