Index: gcc/gcc/testsuite/gcc.misc-tests/i386-prefetch.exp |
diff --git a/gcc/gcc/testsuite/gcc.misc-tests/i386-prefetch.exp b/gcc/gcc/testsuite/gcc.misc-tests/i386-prefetch.exp |
index e9909845c44abfba7370f06cd38600ab23e2aaf2..a9f767cde0a3b3edf18f430c72e4affe86b9e446 100644 |
--- a/gcc/gcc/testsuite/gcc.misc-tests/i386-prefetch.exp |
+++ b/gcc/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]] "" |