[testsuite][ARM] check_effective_target_arm_vfp_ok_nocache: Fix typo in option name
authorChristophe Lyon <christophe.lyon@linaro.org>
Mon, 18 Nov 2019 09:20:18 +0000 (09:20 +0000)
committerChristophe Lyon <clyon@gcc.gnu.org>
Mon, 18 Nov 2019 09:20:18 +0000 (10:20 +0100)
2019-11-18  Christophe Lyon  <christophe.lyon@linaro.org>

* lib/target-supports.exp
(check_effective_target_arm_vfp_ok_nocache): Fix typo in option
name.

From-SVN: r278390

gcc/testsuite/ChangeLog
gcc/testsuite/lib/target-supports.exp

index 9ef0b137198cb4eee9cea80a2f5b78c99895c288..40a61126b1f721e40439ee855662c158de1b99f4 100644 (file)
@@ -1,3 +1,9 @@
+2019-11-18  Christophe Lyon  <christophe.lyon@linaro.org>
+
+       * lib/target-supports.exp
+       (check_effective_target_arm_vfp_ok_nocache): Fix typo in option
+       name.
+
 2019-11-17  Jeff Law  <law@redhat.com>
 
        * gcc.dg/complex-6.c: Do not run dump scan tests for rx target.
index 751045d4744777991cda826c6a654ce2bcc73962..54b2fcab3898e888cc7a97530ebc4450df61bda6 100644 (file)
@@ -3496,8 +3496,8 @@ proc check_effective_target_arm_vfp_ok_nocache { } {
     global et_arm_vfp_flags
     set et_arm_vfp_flags ""
     if { [check_effective_target_arm32] } {
-       foreach flags {"-mfpu=vfp" "-mfpu=vfp -mfloat-abi=softfp" "-mpu=vfp -mfloat-abi=hard"} {
-           if { [check_no_compiler_messages_nocache arm_fp_ok object {
+       foreach flags {"-mfpu=vfp" "-mfpu=vfp -mfloat-abi=softfp" "-mfpu=vfp -mfloat-abi=hard"} {
+           if { [check_no_compiler_messages_nocache arm_vfp_ok object {
                #ifndef __ARM_FP
                #error __ARM_FP not defined
                #endif