Re: Repeat main vect.exp tests with -flto

2011-04-18 Thread Rainer Orth
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 -flt

Re: Repeat main vect.exp tests with -flto

2011-04-18 Thread Richard Sandiford
Rainer Orth 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 >> +dg-runtest [

Re: Repeat main vect.exp tests with -flto

2011-04-18 Thread Rainer Orth
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 -no