OSDN Git Service

* gcc.c-torture/execute/va-arg-25.x: XFAIL only on SPARC 64-bit.
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 8 Feb 2004 17:00:29 +0000 (17:00 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 8 Feb 2004 17:00:29 +0000 (17:00 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77485 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/va-arg-25.x

index ffa9d6b..a79cda5 100644 (file)
@@ -1,3 +1,7 @@
+2004-02-08  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       * gcc.c-torture/execute/va-arg-25.x: XFAIL only on SPARC 64-bit.
+
 2004-02-07  Zack Weinberg  <zack@codesourcery.com>
 
        Bug 13856
index 1658fbc..ff301be 100644 (file)
@@ -1,12 +1,24 @@
-# This doesn't work on sparc*-*-*.
+# This doesn't work on SPARC 64-bit.
 
-set torture_eval_before_compile {
-    global compiler_conditional_xfail_data
-    set compiler_conditional_xfail_data {
-      "PR target/12916" \
-      { "sparc*-*-*" } \
-      { "*" } \
-      { "" }
+if { [istarget "sparc64-*-*"] || [istarget "sparcv9-*-*"] } {
+    set torture_eval_before_compile {
+        global compiler_conditional_xfail_data
+        set compiler_conditional_xfail_data {
+            "PR target/12916" \
+            { "*-*-*" } \
+            { "*" } \
+            { "-m32" }
+        }
+    }
+} elseif { [istarget "sparc-*-*"] } {
+    set torture_eval_before_compile {
+        global compiler_conditional_xfail_data
+        set compiler_conditional_xfail_data {
+             "PR target/12916" \
+            { "*-*-*" } \
+            { "-m64" } \
+            { "" }
+        }
     }
 }