From 762ff5b304c70c05ec0b98ef3bc458f6e31de514 Mon Sep 17 00:00:00 2001 From: Christophe Lyon Date: Mon, 18 Nov 2019 09:20:18 +0000 Subject: [PATCH] [testsuite][ARM] check_effective_target_arm_vfp_ok_nocache: Fix typo in option name 2019-11-18 Christophe Lyon * lib/target-supports.exp (check_effective_target_arm_vfp_ok_nocache): Fix typo in option name. From-SVN: r278390 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/lib/target-supports.exp | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9ef0b137198..40a61126b1f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2019-11-18 Christophe Lyon + + * lib/target-supports.exp + (check_effective_target_arm_vfp_ok_nocache): Fix typo in option + name. + 2019-11-17 Jeff Law * gcc.dg/complex-6.c: Do not run dump scan tests for rx target. diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 751045d4744..54b2fcab389 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -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 -- 2.30.2