From df2a1a265d13222bd4d109eeebbb7662f24fd5b1 Mon Sep 17 00:00:00 2001 From: Christophe Lyon Date: Tue, 26 Sep 2017 04:57:49 +0000 Subject: [PATCH] [testsuite][arm] Fix check_effective_target_vect_hw_misalign check. 2017-09-26 Christophe Lyon * lib/target-supports.exp (check_effective_target_vect_hw_misalign): Fix arm check. From-SVN: r253187 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/lib/target-supports.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c241b2f4cdc..8c537ad5d62 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-09-26 Christophe Lyon + + * lib/target-supports.exp (check_effective_target_vect_hw_misalign): + Fix arm check. + 2017-09-25 Jeff Law * lib/target-supports.exp diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 3ded1e32f49..7834c30a1e2 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -5951,7 +5951,7 @@ proc check_effective_target_vect_hw_misalign { } { set et_vect_hw_misalign_saved($et_index) 1 } if { [istarget arm*-*-*] } { - set et_vect_hw_misalign_saved($et_index) ![check_effective_target_arm_vect_no_misalign] + set et_vect_hw_misalign_saved($et_index) [expr ![check_effective_target_arm_vect_no_misalign]] } } verbose "check_effective_target_vect_hw_misalign:\ -- 2.30.2