diff options
author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-09-08 10:55:09 +0000 |
---|---|---|
committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-09-08 10:55:09 +0000 |
commit | 51c9a7355f03b011fe5f98bd1948d0e16878b5b1 (patch) | |
tree | 5a7c0e14c99d5a2c5833818f83cf97a616a5db83 /gcc/testsuite/gcc.misc-tests/i386-prefetch.exp | |
parent | 326d0c19d6dc0c4afc72fbbee5d8fdc85f716fa9 (diff) | |
download | gcc-51c9a7355f03b011fe5f98bd1948d0e16878b5b1.tar.gz |
* gcc.misc-tests/i386-prefetch.exp: Skip tests when multilib flags
contain -march.
* gcc.dg/tree-ssa/prefetch-7.c, gcc.target/i386/387-1.c,
gcc.target/i386/387-5.c, gcc.target/i386/cmov7.c,
gcc.target/i386/funcspec-1.c, gcc.target/i386/funcspec-8.c,
gcc.target/i386/gcc-have-sync-compare-and-swap-1.c,
gcc.target/i386/gcc-have-sync-compare-and-swap-2.c,
gcc.target/i386/isa-6.c, gcc.target/i386/lea.c,
gcc.target/i386/pentium4-not-mull.c, gcc.target/i386/sse-5.c,
gcc.target/i386/ssefn-1.c: Skip when multilib flags contain -march
options other than that used in dg-options.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151506 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.misc-tests/i386-prefetch.exp')
-rw-r--r-- | gcc/testsuite/gcc.misc-tests/i386-prefetch.exp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.misc-tests/i386-prefetch.exp b/gcc/testsuite/gcc.misc-tests/i386-prefetch.exp index e9909845c44..a9f767cde0a 100644 --- a/gcc/testsuite/gcc.misc-tests/i386-prefetch.exp +++ b/gcc/testsuite/gcc.misc-tests/i386-prefetch.exp @@ -90,6 +90,13 @@ load_lib torture-options.exp dg-init torture-init +if { [board_info target exists multilib_flags] + && [string match "* -march=*" " [board_info target multilib_flags] "] } { + # Multilib flags come after the -march flags we pass and override + # them, so skip these tests when such flags are passed. + return +} + set-torture-options $PREFETCH_NONE gcc-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/i386-pf-none-*.c]] "" |