Hello!
2011-10-05 Uros Bizjak <[email protected]>
* gcc.dg/vect/vect.exp (VEC_CFLAGS): Move initialization after
DEFAULT_VECTFLAGS initialization.
Tested on x86_64-pc-linux-gnu {,-m32}, committed to mainline SVN.
Uros.
Index: gcc.dg/vect/vect.exp
===================================================================
--- gcc.dg/vect/vect.exp (revision 179561)
+++ gcc.dg/vect/vect.exp (working copy)
@@ -39,15 +39,15 @@
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"