aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.target/i386/math-torture/math-torture.exp5
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 2ad8fb3..a28db4f 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2006-11-14 Richard Guenther <rguenther@suse.de>
+
+ * gcc.target/i386/math-torture/math-torture.exp: Restrict
+ to i?86 and x86_64 targets.
+
2006-11-14 Caroline Tice <ctice@apple.com>
* gcc.dg/pubtypes-1.c: New file/testcase.
diff --git a/gcc/testsuite/gcc.target/i386/math-torture/math-torture.exp b/gcc/testsuite/gcc.target/i386/math-torture/math-torture.exp
index 01f0778..2bd847d 100644
--- a/gcc/testsuite/gcc.target/i386/math-torture/math-torture.exp
+++ b/gcc/testsuite/gcc.target/i386/math-torture/math-torture.exp
@@ -1,5 +1,10 @@
# This harness is for tests that should be run at all optimisation levels.
+# Exit immediately if this isn't a x86 target.
+if { ![istarget i?86*-*-*] && ![istarget x86_64-*-*] } then {
+ return
+}
+
set TORTURE_OPTIONS [list \
{ -O0 } \
{ -O0 -mfpmath=387 } \