20020720-1.x: Take out sparc XFAILs.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Tue, 8 Oct 2002 23:21:40 +0000 (23:21 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Tue, 8 Oct 2002 23:21:40 +0000 (23:21 +0000)
        * gcc.c-torture/execute/20020720-1.x: Take out sparc XFAILs.  For
        remaining platforms, XFAIL during compile, not execute.  Don't
        XFAIL at -O0.

From-SVN: r57963

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/20020720-1.x

index 73700051cd2f3dfd5e1e3553f1352af68fef533f..9b3a86e86d598f524afc17a1c7cedeb18d50f0e3 100644 (file)
@@ -1,3 +1,9 @@
+2002-10-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * gcc.c-torture/execute/20020720-1.x: Take out sparc XFAILs.  For
+       remaining platforms, XFAIL during compile, not execute.  Don't
+       XFAIL at -O0.
+
 2002-10-08  Nathan Sidwell  <nathan@codesourcery.com>
 
        * gcc.dg/alias-1.c: Tweak expected warning.
index 10980f489dbf7b460c5d4fef2f390354d7e9476e..f97974b245b42678f537dbace56fc5e14ac10713 100644 (file)
@@ -9,21 +9,16 @@
 #     for example the comparison insn takes 0.0 as an operand, the
 #     combiner is able to see all intermediate instructions simultaneously
 #     and can make the optimization.
-if { [istarget "mips*-*-*"] || [istarget "xtensa-*-*"] \
-     || [istarget "sh-*-*"] || [istarget "arm*-*-*"] \
-     || [istarget "strongarm*-*-*"] || [istarget "xscale*-*-*"] \
-     || [istarget "sparc64-*-*"] || [istarget "sparcv9-*-*"] } {
-    set torture_execute_xfail [istarget]
-}
 
-# sparc-*-* also fails with -m64.
-set torture_eval_before_execute {
+# Don't XFAIL at -O0, that should never fail.
+set torture_eval_before_compile {
     global compiler_conditional_xfail_data
     set compiler_conditional_xfail_data {
-        "This test fails on sparc -m64, see PR8087." \
-        { "sparc-*-*" } \
-        { "-m64" } \
-        { "" }
+        "This test fails to optimize completely on certain platforms." \
+        { "mips*-*-*" "xtensa-*-*" "sh-*-*" "arm*-*-*" "strongarm*-*-*" \
+          "xscale*-*-*" } \
+        { "*" } \
+        { "-O0" }
     }
 }