aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@libertysurf.fr>2003-11-05 21:15:02 +0100
committerEric Botcazou <ebotcazou@gcc.gnu.org>2003-11-05 20:15:02 +0000
commit51672143903463e757bdc4acdace853717be9505 (patch)
tree4ee0af979f37f00ad4fd48a8ca61b3f29de720d7 /gcc/testsuite
parentf4dcab145ff57e4bedd94d5026e29c04c38c1c34 (diff)
downloadgcc-51672143903463e757bdc4acdace853717be9505.zip
gcc-51672143903463e757bdc4acdace853717be9505.tar.gz
gcc-51672143903463e757bdc4acdace853717be9505.tar.bz2
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
Diffstat (limited to 'gcc/testsuite')
-rw-r--r--gcc/testsuite/ChangeLog8
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/20031023-4.c5
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/simd-5.c8
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/simd-4.x13
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/va-arg-25.x13
-rw-r--r--gcc/testsuite/gcc.dg/uninit-C.c2
6 files changed, 44 insertions, 5 deletions
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 <ebotcazou@libertysurf.fr>
+
+ * 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 <jsm@polyomino.org.uk>
* 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