[testsuite] : Fix UNRESOLVED: gcc.dg/vect/vec-scal-opt*.c scan-tree-dump-times veclower

Submitted by Uros Bizjak on Oct. 5, 2011, 5:42 p.m.

Details

Message ID CAFULd4ZS9OaX8bA8AEsZXEeKDky3_FFYbEgEjNoQvCNKQV+avQ@mail.gmail.com
State New
Headers show

Commit Message

Uros Bizjak Oct. 5, 2011, 5:42 p.m.
Hello!

2011-10-05  Uros Bizjak  <ubizjak@gmail.com>

	* 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.

Patch hide | download patch | download mbox

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"