+2014-09-10 Jakub Jelinek <jakub@redhat.com>
+
+ * gcc.target/i386/i386.exp: Only run vect-args.c tests
+ if runtest_file_p says they should be run.
+
2014-09-10 Alan Lawrence <alan.lawrence@arm.com>
* gcc.target/aarch64/vstN_1.c: New test.
dg-init
clearcap-init
+global runtests
# Special case compilation of vect-args.c so we don't have to
# replicate it 10 times.
-foreach type { "" -mmmx -m3dnow -msse -msse2 } {
- foreach level { "" -O } {
- set flags "$type $level"
- verbose -log "Testing vect-args, $flags" 1
- dg-test $srcdir/$subdir/vect-args.c $flags ""
+if [runtest_file_p $runtests $srcdir/$subdir/vect-args.c] {
+ foreach type { "" -mmmx -m3dnow -msse -msse2 } {
+ foreach level { "" -O } {
+ set flags "$type $level"
+ verbose -log "Testing vect-args, $flags" 1
+ dg-test $srcdir/$subdir/vect-args.c $flags ""
+ }
}
}