+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.
+# 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
--- /dev/null
+# 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
--- /dev/null
+# 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
--- /dev/null
+# 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
--- /dev/null
+# 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