Richard,
+foreach flags { -flto} {
+dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/pr*.\[cS\]]] \
+ $flags $DEFAULT_VECTCFLAGS
+dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/vect-*.\[cS\]]] \
+ $flags $DEFAULT_VECTCFLAGS
+dg-runtest [lsort [glob -nocomplain
Rainer Orth r...@cebitec.uni-bielefeld.de writes:
+foreach flags { -flto} {
+dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/pr*.\[cS\]]] \
+$flags $DEFAULT_VECTCFLAGS
+dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/vect-*.\[cS\]]] \
+$flags $DEFAULT_VECTCFLAGS
+
Richard,
I think you need to make sure that the target supports lto,
cf. check_effective_target_lto.
Good point. How's this? Tested as before.
looks good, thanks.
Rainer
Richard
gcc/testsuite/
* gcc.dg/vect/vect.exp: Run the main tests twice, one with -flto