This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
XFAIL va-arg-25.c only on SPARC 64-bit
- From: Eric Botcazou <ebotcazou at libertysurf dot fr>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 8 Feb 2004 18:12:10 +0100
- Subject: XFAIL va-arg-25.c only on SPARC 64-bit
My recent patch which forces every argument larger than 2 words to be passed
by invisible reference on SPARC 32-bit has an unintended effect: making
va-arg-25.c pass (because the vector is larger than 2 words).
Therefore this patch removes the unnecessary XFAIL. Applied to mainline and
3.4 branch.
2004-02-08 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.c-torture/execute/va-arg-25.x: XFAIL only on SPARC 64-bit.
--
Eric Botcazou
Index: gcc.c-torture/execute/va-arg-25.x
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/va-arg-25.x,v
retrieving revision 1.1
diff -u -r1.1 va-arg-25.x
--- gcc.c-torture/execute/va-arg-25.x 5 Nov 2003 20:15:01 -0000 1.1
+++ gcc.c-torture/execute/va-arg-25.x 8 Feb 2004 16:52:54 -0000
@@ -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" } \
+ { "" }
+ }
}
}