[testsuite][arm] Fix check_effective_target_vect_hw_misalign check.
authorChristophe Lyon <christophe.lyon@linaro.org>
Tue, 26 Sep 2017 04:57:49 +0000 (04:57 +0000)
committerChristophe Lyon <clyon@gcc.gnu.org>
Tue, 26 Sep 2017 04:57:49 +0000 (06:57 +0200)
2017-09-26  Christophe Lyon  <christophe.lyon@linaro.org>

* lib/target-supports.exp (check_effective_target_vect_hw_misalign):
Fix arm check.

From-SVN: r253187

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

index c241b2f4cdc38fbf830d825e548d3b781aaa990f..8c537ad5d6211727fed8b99fc986bf66131b0484 100644 (file)
@@ -1,3 +1,8 @@
+2017-09-26  Christophe Lyon  <christophe.lyon@linaro.org>
+
+       * lib/target-supports.exp (check_effective_target_vect_hw_misalign):
+       Fix arm check.
+
 2017-09-25  Jeff Law  <law@redhat.com>
 
        * lib/target-supports.exp
index 3ded1e32f49a988a68a5bcdd4fe962f3784ecde8..7834c30a1e22904cc6b4c2f2d99bbb50f7811b5f 100644 (file)
@@ -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:\