aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/lib/fortran-torture.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/lib/fortran-torture.exp')
-rw-r--r--gcc/testsuite/lib/fortran-torture.exp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/testsuite/lib/fortran-torture.exp b/gcc/testsuite/lib/fortran-torture.exp
index 811b4cf..72ce9d6 100644
--- a/gcc/testsuite/lib/fortran-torture.exp
+++ b/gcc/testsuite/lib/fortran-torture.exp
@@ -1,4 +1,4 @@
-# Copyright (C) 2003, 2006, 2007, 2008 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2006, 2007, 2008, 2010 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -45,6 +45,7 @@ proc get-fortran-torture-options { } {
} elseif { [istarget "spu-*-*"] } {
set test_tree_vectorize 1
} elseif { ( [istarget "i?86-*-*"] || [istarget "x86_64-*-*"] )
+ && [check_effective_target_sse2]
&& [check_sse2_hw_available] } {
lappend vectorizer_options "-msse2"
set test_tree_vectorize 1