From: Christophe Lyon Date: Tue, 26 Sep 2017 04:57:49 +0000 (+0000) Subject: [testsuite][arm] Fix check_effective_target_vect_hw_misalign check. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=df2a1a265d13222bd4d109eeebbb7662f24fd5b1;p=gcc.git [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 --- 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:\