aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2011-10-05 19:41:01 +0200
committerUros Bizjak <uros@gcc.gnu.org>2011-10-05 19:41:01 +0200
commited3782301420219551300b2c80cd6f2d0792b51a (patch)
treeb1ec560954583086a9e91f5fef34b2c0a2d6515a
parentdae00b1695df005699a0e1d3b39405c3674c2904 (diff)
downloadgcc-ed3782301420219551300b2c80cd6f2d0792b51a.zip
gcc-ed3782301420219551300b2c80cd6f2d0792b51a.tar.gz
gcc-ed3782301420219551300b2c80cd6f2d0792b51a.tar.bz2
vect.exp (VEC_CFLAGS): Move initialization after DEFAULT_VECTFLAGS initialization.
* gcc.dg/vect/vect.exp (VEC_CFLAGS): Move initialization after DEFAULT_VECTFLAGS initialization. From-SVN: r179565
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.dg/vect/vect.exp6
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 4a09d43..f93101a 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2011-10-05 Uros Bizjak <ubizjak@gmail.com>
+
+ * gcc.dg/vect/vect.exp (VEC_CFLAGS): Move initialization after
+ DEFAULT_VECTFLAGS initialization.
+
2011-10-05 Richard Guenther <rguenther@suse.de>
PR tree-optimization/38885
diff --git a/gcc/testsuite/gcc.dg/vect/vect.exp b/gcc/testsuite/gcc.dg/vect/vect.exp
index 8f57f29..e95136b 100644
--- a/gcc/testsuite/gcc.dg/vect/vect.exp
+++ b/gcc/testsuite/gcc.dg/vect/vect.exp
@@ -39,15 +39,15 @@ if ![check_vect_support_and_set_flags] {
return
}
-global VEC_FLAGS
-set VEC_FLAGS $DEFAULT_VECTCFLAGS
-
# These flags are used for all targets.
lappend DEFAULT_VECTCFLAGS "-ftree-vectorize" "-fno-vect-cost-model"
# Initialize `dg'.
dg-init
+global VEC_FLAGS
+set VEC_FLAGS $DEFAULT_VECTCFLAGS
+
global O1_VECTCFLAGS
set O1_VECTCFLAGS $DEFAULT_VECTCFLAGS
lappend O1_VECTCFLAGS "-O1"