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

login
register
mail settings
Submitter Uros Bizjak
Date Oct. 5, 2011, 5:42 p.m.
Message ID <CAFULd4ZS9OaX8bA8AEsZXEeKDky3_FFYbEgEjNoQvCNKQV+avQ@mail.gmail.com>
Download mbox | patch
Permalink /patch/117899/
State New
Headers show

Comments

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

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"