aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2001-10-13 06:16:29 +0000
committerTom Rix <trix@gcc.gnu.org>2001-10-13 06:16:29 +0000
commite2ccde7b440b0245bc8e38ce6cddeff3b94cc36d (patch)
treef9882680ea91b9198636bc6ed27d2d7eea0897b8
parent5e3db92d6bd9c3fa70b4a0cd7efc5e6a851c5e4e (diff)
downloadgcc-e2ccde7b440b0245bc8e38ce6cddeff3b94cc36d.zip
gcc-e2ccde7b440b0245bc8e38ce6cddeff3b94cc36d.tar.gz
gcc-e2ccde7b440b0245bc8e38ce6cddeff3b94cc36d.tar.bz2
XFAIL these tests on AIX when using -msoft-float
From-SVN: r46240
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/980709-1.x15
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/990826-0.x15
3 files changed, 35 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 35f40e5..b683da2 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2001-10-13 Tom Rix <trix@redhat.com>
+
+ * gcc.c-torture/execute/990826-0.x: AIX XFAIL -msoft-float.
+ * gcc.c-torture/execute/980709-1.x: AIX XFAIL -msoft-float.
+
2001-10-12 Jakub Jelinek <jakub@redhat.com>
* testsuite/gcc.dg/20011009-1.c: New test.
diff --git a/gcc/testsuite/gcc.c-torture/execute/980709-1.x b/gcc/testsuite/gcc.c-torture/execute/980709-1.x
index a5eefd5..f64f558 100644
--- a/gcc/testsuite/gcc.c-torture/execute/980709-1.x
+++ b/gcc/testsuite/gcc.c-torture/execute/980709-1.x
@@ -2,4 +2,19 @@
if { [istarget "m6811-*-*"] || [istarget "m6812-*-*"]} {
return 1
}
+# XFAIL this test for AIX using -msoft-float.
+# This test calls the system libm.a function pow.
+# A false failure is reported if -msoft-float is used.
+# AIX expects the the parameters to be passed in fp regs.
+if { [istarget powerpc-*-aix*] || [istarget rs6000-*-aix*] } {
+ set torture_eval_before_execute {
+ global compiler_conditional_xfail_data
+ set compiler_conditional_xfail_data {
+ "Can not call system libm.a with -msoft-float" \
+ "*-*-aix*" \
+ { "-msoft-float" } \
+ { "" }
+ }
+ }
+}
return 0
diff --git a/gcc/testsuite/gcc.c-torture/execute/990826-0.x b/gcc/testsuite/gcc.c-torture/execute/990826-0.x
index 84a8c2a..689aebf 100644
--- a/gcc/testsuite/gcc.c-torture/execute/990826-0.x
+++ b/gcc/testsuite/gcc.c-torture/execute/990826-0.x
@@ -2,4 +2,19 @@
if { [istarget "m6811-*-*"] || [istarget "m6812-*-*"]} {
return 1
}
+# XFAIL this test for AIX using -msoft-float.
+# This test calls the system libm.a function floor.
+# A false failure is reported if -msoft-float is used.
+# AIX expects the the parameters to be passed in fp regs.
+if { [istarget powerpc-*-aix*] || [istarget rs6000-*-aix*] } {
+ set torture_eval_before_execute {
+ global compiler_conditional_xfail_data
+ set compiler_conditional_xfail_data {
+ "Can not call system libm.a with -msoft-float" \
+ "*-*-aix*" \
+ { "-msoft-float" } \
+ { "" }
+ }
+ }
+}
return 0