From 51672143903463e757bdc4acdace853717be9505 Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Wed, 5 Nov 2003 21:15:02 +0100 Subject: [PATCH] 20031023-4.c: XFAIL on SPARC64 * gcc.c-torture/compile/20031023-4.c: XFAIL on SPARC64 * gcc.c-torture/compile/simd-5.c: XFAIL on SPARC64 at -O0 and -O1. * gcc.c-torture/execute/simd-4.x: New file. XFAIL on SPARC at -O0. * gcc.c-torture/execute/va-arg-25.x: New file. XFAIL on SPARC. * gcc.dg/uninit-C.c: XFAIL on non 64-bit Solaris versions. From-SVN: r73280 --- gcc/testsuite/ChangeLog | 8 ++++++++ gcc/testsuite/gcc.c-torture/compile/20031023-4.c | 5 +++++ gcc/testsuite/gcc.c-torture/compile/simd-5.c | 8 ++++---- gcc/testsuite/gcc.c-torture/execute/simd-4.x | 13 +++++++++++++ gcc/testsuite/gcc.c-torture/execute/va-arg-25.x | 13 +++++++++++++ gcc/testsuite/gcc.dg/uninit-C.c | 2 +- 6 files changed, 44 insertions(+), 5 deletions(-) create mode 100644 gcc/testsuite/gcc.c-torture/execute/simd-4.x create mode 100644 gcc/testsuite/gcc.c-torture/execute/va-arg-25.x diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 87302ad..5c7cea5 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2003-11-05 Eric Botcazou + + * gcc.c-torture/compile/20031023-4.c: XFAIL on SPARC64 + * gcc.c-torture/compile/simd-5.c: XFAIL on SPARC64 at -O0 and -O1. + * gcc.c-torture/execute/simd-4.x: New file. XFAIL on SPARC at -O0. + * gcc.c-torture/execute/va-arg-25.x: New file. XFAIL on SPARC. + * gcc.dg/uninit-C.c: XFAIL on non 64-bit Solaris versions. + 2003-11-05 Joseph S. Myers * gcc.dg/cond-lvalue-1.c: New test. diff --git a/gcc/testsuite/gcc.c-torture/compile/20031023-4.c b/gcc/testsuite/gcc.c-torture/compile/20031023-4.c index 5c61f37..7268888 100644 --- a/gcc/testsuite/gcc.c-torture/compile/20031023-4.c +++ b/gcc/testsuite/gcc.c-torture/compile/20031023-4.c @@ -1,2 +1,7 @@ +/* On SPARC64/SPARC-V9 it fails because of a back-end problem, except with -m32. */ +/* { dg-xfail-if "PR target/6466" { "sparc64-*-*" "sparcv9-*-*" } { "*" } { "-m32" } } */ +/* On regular SPARC it doesn't fail, except with -m64. */ +/* { dg-xfail-if "PR target/6466" { "sparc-*-*" } { "-m64" } { "" } } */ + #define ASIZE 0x80000000UL #include "20031023-1.c" diff --git a/gcc/testsuite/gcc.c-torture/compile/simd-5.c b/gcc/testsuite/gcc.c-torture/compile/simd-5.c index d82b504..1575dc1 100644 --- a/gcc/testsuite/gcc.c-torture/compile/simd-5.c +++ b/gcc/testsuite/gcc.c-torture/compile/simd-5.c @@ -1,7 +1,7 @@ -/* On SPARC64/SPARC-V9 it fails, except with -m32. */ -/* { dg-xfail-if "PR target/9200" { "sparc64-*-*" "sparcv9-*-*" } { "*" } { "-m32" } } */ -/* On regular SPARC it doesn't fail, except with -m64. */ -/* { dg-xfail-if "PR target/9200" { "sparc-*-*" } { "-m64" } { "" } } */ +/* On SPARC64/SPARC-V9 it fails at -O0 and -O1, except with -m32. */ +/* { dg-xfail-if "PR target/9200" { "sparc64-*-*" "sparcv9-*-*" } { "-O0" "-O1" } { "-m32" } } */ +/* On regular SPARC it doesn't fail, except with -m64 at -O0 and -O1. */ +/* { dg-xfail-if "PR target/9200" { "sparc-*-*" } { "-m64 -O0" "-m64 -O1" } { "" } } */ #define vector64 __attribute__((vector_size(8))) diff --git a/gcc/testsuite/gcc.c-torture/execute/simd-4.x b/gcc/testsuite/gcc.c-torture/execute/simd-4.x new file mode 100644 index 0000000..f5644cb --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/execute/simd-4.x @@ -0,0 +1,13 @@ +# This doesn't work on sparc*-*-* at -O0. + +set torture_eval_before_compile { + global compiler_conditional_xfail_data + set compiler_conditional_xfail_data { + "PR target/12916" \ + { "sparc*-*-*" } \ + { "-O0" } \ + { "" } + } +} + +return 0 diff --git a/gcc/testsuite/gcc.c-torture/execute/va-arg-25.x b/gcc/testsuite/gcc.c-torture/execute/va-arg-25.x new file mode 100644 index 0000000..1658fbc --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/execute/va-arg-25.x @@ -0,0 +1,13 @@ +# This doesn't work on sparc*-*-*. + +set torture_eval_before_compile { + global compiler_conditional_xfail_data + set compiler_conditional_xfail_data { + "PR target/12916" \ + { "sparc*-*-*" } \ + { "*" } \ + { "" } + } +} + +return 0 diff --git a/gcc/testsuite/gcc.dg/uninit-C.c b/gcc/testsuite/gcc.dg/uninit-C.c index ddef41c..3ecbf8a 100644 --- a/gcc/testsuite/gcc.dg/uninit-C.c +++ b/gcc/testsuite/gcc.dg/uninit-C.c @@ -4,7 +4,7 @@ /* Not all platforms support TImode integers. */ #if defined(__LP64__) || defined(__sparc__) -typedef int TItype __attribute__ ((mode (TI))); +typedef int TItype __attribute__ ((mode (TI))); /* { dg-error "no data type for mode" "TI" { target sparc-sun-solaris2.[0-6]* } } */ #else typedef long TItype; #endif -- 2.7.4