OSDN Git Service

2006-11-14 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Nov 2006 22:01:08 +0000 (22:01 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Nov 2006 22:01:08 +0000 (22:01 +0000)
        * gcc.target/i386/math-torture/math-torture.exp: Restrict
        to i?86 and x86_64 targets.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118827 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/math-torture/math-torture.exp

index 2ad8fb3..a28db4f 100644 (file)
@@ -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.
index 01f0778..2bd847d 100644 (file)
@@ -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 } \