XFAIL these tests on AIX when using -msoft-float
authorTom Rix <trix@redhat.com>
Sat, 13 Oct 2001 06:16:29 +0000 (06:16 +0000)
committerTom Rix <trix@gcc.gnu.org>
Sat, 13 Oct 2001 06:16:29 +0000 (06:16 +0000)
From-SVN: r46240

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/980709-1.x
gcc/testsuite/gcc.c-torture/execute/990826-0.x

index 35f40e591793629dd8778a7268bcf3fe839eed76..b683da295ef7a75ac7456846747200c620de81d8 100644 (file)
@@ -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.
index a5eefd57a218394f34ec5511e6c3a52d5174323a..f64f5588620733a0d300713439ca1938d6743415 100644 (file)
@@ -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
index 84a8c2a1dcbdf4ceb8c24108ff876debc37ddaf9..689aebfe3667aca2d37a5bcb153b8ad059afa23b 100644 (file)
@@ -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