From 51c9a7355f03b011fe5f98bd1948d0e16878b5b1 Mon Sep 17 00:00:00 2001 From: jsm28 Date: Tue, 8 Sep 2009 10:55:09 +0000 Subject: * 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 --- gcc/testsuite/gcc.misc-tests/i386-prefetch.exp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gcc/testsuite/gcc.misc-tests/i386-prefetch.exp') 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]] "" -- cgit v1.2.1