OSDN Git Service

gcc/testsuite/
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 4 Jul 2007 11:25:32 +0000 (11:25 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 4 Jul 2007 11:25:32 +0000 (11:25 +0000)
* gcc.c-torture/execute/ieee/compare-fp-4.x: Add an XFAIL for ARM
VxWorks kernels.
* gcc.c-torture/execute/ieee/fp-cmp-1.x: Likewise.
* gcc.c-torture/execute/ieee/fp-cmp-2.x: Likewise.
* gcc.c-torture/execute/ieee/fp-cmp-3.x: Likewise.
* gcc.c-torture/execute/ieee/fp-cmp-6.x: Likewise.

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

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/ieee/compare-fp-4.x
gcc/testsuite/gcc.c-torture/execute/ieee/fp-cmp-1.x [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/execute/ieee/fp-cmp-2.x [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/execute/ieee/fp-cmp-3.x [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/execute/ieee/fp-cmp-6.x [new file with mode: 0644]

index a7fac37..0c96acb 100644 (file)
@@ -1,5 +1,14 @@
 2007-07-04  Richard Sandiford  <richard@codesourcery.com>
 
+       * gcc.c-torture/execute/ieee/compare-fp-4.x: Add an XFAIL for ARM
+       VxWorks kernels.
+       * gcc.c-torture/execute/ieee/fp-cmp-1.x: Likewise.
+       * gcc.c-torture/execute/ieee/fp-cmp-2.x: Likewise.
+       * gcc.c-torture/execute/ieee/fp-cmp-3.x: Likewise.
+       * gcc.c-torture/execute/ieee/fp-cmp-6.x: Likewise.
+
+2007-07-04  Richard Sandiford  <richard@codesourcery.com>
+
        * gcc.dg/cpp/trad/include.c: Skip for VxWorks kernels.
 
 2007-07-04  Richard Sandiford  <richard@codesourcery.com>
index 35f7a0a..510a309 100644 (file)
@@ -1,2 +1,17 @@
+# The ARM VxWorks kernel uses an external floating-point library in
+# which routines like __ledf2 are just aliases for __cmpdf2.  These
+# routines therefore don't handle NaNs correctly.
+if [istarget "arm*-*-vxworks*"] {
+    set torture_eval_before_execute {
+       global compiler_conditional_xfail_data
+       set compiler_conditional_xfail_data {
+           "The ARM kernel uses a flawed floating-point library."
+           { "*-*-*" }
+           {}
+           { "-mrtp" }
+       }
+    }
+}
+
 lappend additional_flags "-fno-trapping-math"
 return 0
diff --git a/gcc/testsuite/gcc.c-torture/execute/ieee/fp-cmp-1.x b/gcc/testsuite/gcc.c-torture/execute/ieee/fp-cmp-1.x
new file mode 100644 (file)
index 0000000..84c193f
--- /dev/null
@@ -0,0 +1,16 @@
+# The ARM VxWorks kernel uses an external floating-point library in
+# which routines like __ledf2 are just aliases for __cmpdf2.  These
+# routines therefore don't handle NaNs correctly.
+if [istarget "arm*-*-vxworks*"] {
+    set torture_eval_before_execute {
+       global compiler_conditional_xfail_data
+       set compiler_conditional_xfail_data {
+           "The ARM kernel uses a flawed floating-point library."
+           { "*-*-*" }
+           {}
+           { "-mrtp" }
+       }
+    }
+}
+
+return 0
diff --git a/gcc/testsuite/gcc.c-torture/execute/ieee/fp-cmp-2.x b/gcc/testsuite/gcc.c-torture/execute/ieee/fp-cmp-2.x
new file mode 100644 (file)
index 0000000..84c193f
--- /dev/null
@@ -0,0 +1,16 @@
+# The ARM VxWorks kernel uses an external floating-point library in
+# which routines like __ledf2 are just aliases for __cmpdf2.  These
+# routines therefore don't handle NaNs correctly.
+if [istarget "arm*-*-vxworks*"] {
+    set torture_eval_before_execute {
+       global compiler_conditional_xfail_data
+       set compiler_conditional_xfail_data {
+           "The ARM kernel uses a flawed floating-point library."
+           { "*-*-*" }
+           {}
+           { "-mrtp" }
+       }
+    }
+}
+
+return 0
diff --git a/gcc/testsuite/gcc.c-torture/execute/ieee/fp-cmp-3.x b/gcc/testsuite/gcc.c-torture/execute/ieee/fp-cmp-3.x
new file mode 100644 (file)
index 0000000..84c193f
--- /dev/null
@@ -0,0 +1,16 @@
+# The ARM VxWorks kernel uses an external floating-point library in
+# which routines like __ledf2 are just aliases for __cmpdf2.  These
+# routines therefore don't handle NaNs correctly.
+if [istarget "arm*-*-vxworks*"] {
+    set torture_eval_before_execute {
+       global compiler_conditional_xfail_data
+       set compiler_conditional_xfail_data {
+           "The ARM kernel uses a flawed floating-point library."
+           { "*-*-*" }
+           {}
+           { "-mrtp" }
+       }
+    }
+}
+
+return 0
diff --git a/gcc/testsuite/gcc.c-torture/execute/ieee/fp-cmp-6.x b/gcc/testsuite/gcc.c-torture/execute/ieee/fp-cmp-6.x
new file mode 100644 (file)
index 0000000..e7c051d
--- /dev/null
@@ -0,0 +1,16 @@
+# The ARM VxWorks kernel uses an external floating-point library in
+# which routines like __ledf2 are just aliases for __cmpdf2.  These
+# routines therefore don't handle NaNs correctly.
+if [istarget "arm*-*-vxworks*"] {
+    set torture_eval_before_execute {
+       global compiler_conditional_xfail_data
+       set compiler_conditional_xfail_data {
+           "The ARM kernel uses a flawed floating-point library."
+           { "*-*-*" }
+           { "-O0" }
+           { "-mrtp" }
+       }
+    }
+}
+
+return 0