This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: XFAIL tests that aren't regressions
- To: Franz dot Sirl-kernel at lauterbach dot com (Franz Sirl)
- Subject: Re: PATCH: XFAIL tests that aren't regressions
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Date: Mon, 30 Apr 2001 12:06:47 -0400 (EDT)
- Cc: mark at codesourcery dot com, gcc-patches at gcc dot gnu dot org
> The test belongs into the ieee subdir because it relies on correct IEEE math,
> it's just that ieee.exp shoudn't use -ffloat-store unconditionally on all
> platforms.
>
> So I would say move the test on both mainline and branch, and put fixing
> ieee.exp on the mainline TODO list.
On the subject of the ieee tests and XFAILS, I have this patch to disable
ieee stuff for the vax. It may be a bit moldy. It would be better if
I could just turn off ieee.exp on the vax.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)
2001-01-10 John David Anglin <dave@hiauly1.hia.nrc.ca>
* 20000320-1.x: New. Execution of ieee test is expected fail on vax.
* 930529-1.x: Likewise.
* 980619-1.x: Likewise.
* fp-cmp-4.x: Likewise.
* minuszero.x: Likewise.
* rbug.x: Likewise.
* fp-cmp-1.x: New. Compilation of ieee test is expected fail on vax.
* fp-cmp-2.x: Likewise.
* fp-cmp-3.x: Likewise.
* hugeval.x: Likewise.
* mzero2.x: Likewise.
--- /dev/null Wed Jan 10 17:56:15 2001
+++ gcc.c-torture/execute/ieee/20000320-1.x Wed Jan 10 17:47:58 2001
@@ -0,0 +1,6 @@
+# This test fails on the vax because it doesn't support ieee arithmetic.
+
+if { [istarget "vax-*-*"] } {
+ set torture_execute_xfail "vax-*-*"
+}
+return 0
--- /dev/null Wed Jan 10 17:57:16 2001
+++ gcc.c-torture/execute/ieee/930529-1.x Wed Jan 10 17:48:38 2001
@@ -0,0 +1,6 @@
+# This test fails on the vax because it doesn't support ieee arithmetic.
+
+if { [istarget "vax-*-*"] } {
+ set torture_execute_xfail "vax-*-*"
+}
+return 0
--- gcc.c-torture/execute/ieee/980619-1.x.orig Wed Feb 23 23:35:59 2000
+++ gcc.c-torture/execute/ieee/980619-1.x Wed Jan 10 17:49:18 2001
@@ -1,3 +1,9 @@
+# This test fails on the vax because it doesn't support ieee arithmetic.
+
+if { [istarget "vax-*-*"] } {
+ set torture_execute_xfail "vax-*-*"
+}
+
# This used to fail on ia32, with or without -ffloat-store.
# It works now, but some people think that's a fluke, so I'm
# keeping this around just in case.
--- /dev/null Wed Jan 10 17:58:31 2001
+++ gcc.c-torture/execute/ieee/fp-cmp-1.x Wed Jan 10 17:50:00 2001
@@ -0,0 +1,7 @@
+# This test doesn't compile on the vax because it doesn't support
+# ieee arithmetic.
+
+if { [istarget "vax-*-*"] } {
+ set torture_compile_xfail "vax-*-*"
+}
+return 0
--- /dev/null Wed Jan 10 17:58:45 2001
+++ gcc.c-torture/execute/ieee/fp-cmp-2.x Wed Jan 10 17:50:39 2001
@@ -0,0 +1,7 @@
+# This test doesn't compile on the vax because it doesn't support
+# ieee arithmetic.
+
+if { [istarget "vax-*-*"] } {
+ set torture_compile_xfail "vax-*-*"
+}
+return 0
--- /dev/null Wed Jan 10 17:59:00 2001
+++ gcc.c-torture/execute/ieee/fp-cmp-3.x Wed Jan 10 17:51:46 2001
@@ -0,0 +1,7 @@
+# This test doesn't compile on the vax because it doesn't support
+# ieee arithmetic.
+
+if { [istarget "vax-*-*"] } {
+ set torture_compile_xfail "vax-*-*"
+}
+return 0
--- /dev/null Wed Jan 10 17:59:11 2001
+++ gcc.c-torture/execute/ieee/fp-cmp-4.x Wed Jan 10 17:52:24 2001
@@ -0,0 +1,6 @@
+# This test fails on the vax because it doesn't support ieee arithmetic.
+
+if { [istarget "vax-*-*"] } {
+ set torture_execute_xfail "vax-*-*"
+}
+return 0
--- gcc.c-torture/execute/ieee/hugeval.x.orig Wed Dec 6 21:05:33 2000
+++ gcc.c-torture/execute/ieee/hugeval.x Wed Jan 10 17:45:53 2001
@@ -6,5 +6,10 @@
set torture_execute_xfail "$target_triplet"
}
-return 0
+# This test doesn't compile on the vax because it doesn't support
+# ieee arithmetic.
+if { [istarget "vax-*-*"] } {
+ set torture_compile_xfail "$target_triplet"
+}
+return 0
--- /dev/null Wed Jan 10 17:59:18 2001
+++ gcc.c-torture/execute/ieee/minuszero.x Wed Jan 10 17:53:33 2001
@@ -0,0 +1,6 @@
+# This test fails on the vax because it doesn't support ieee arithmetic.
+
+if { [istarget "vax-*-*"] } {
+ set torture_execute_xfail "vax-*-*"
+}
+return 0
--- gcc.c-torture/execute/ieee/mzero2.x.orig Sat Sep 4 11:09:14 1999
+++ gcc.c-torture/execute/ieee/mzero2.x Wed Jan 10 17:54:16 2001
@@ -1,3 +1,10 @@
+# This test doesn't compile on the vax because it doesn't support
+# ieee arithmetic.
+
+if { [istarget "vax-*-*"] } {
+ set torture_compile_xfail "vax-*-*"
+}
+
# freebsd sets up the fpu with a different precision control which causes
# this test to "fail".
if { [istarget "i?86-*-freebsd*"] } {
--- gcc.c-torture/execute/ieee/rbug.x.orig Mon Jun 7 18:45:02 1999
+++ gcc.c-torture/execute/ieee/rbug.x Wed Jan 10 17:41:09 2001
@@ -9,4 +9,10 @@
if { [istarget "i?86-*-freebsd*"] } {
set torture_execute_xfail "i?86-*-freebsd*"
}
+
+# This test fails on the vax because it doesn't support ieee arithmetic.
+
+if { [istarget "vax-*-*"] } {
+ set torture_execute_xfail "vax-*-*"
+}
return 0