aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2003-06-16 19:12:15 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2003-06-16 19:12:15 +0000
commit786a48dd970b9fb5825bd092278989b0cecacbc7 (patch)
tree5483a3cae29e9a3903f53848de2d16e351d4825f /gcc
parenta48e7d361610afc2161fc3403e6711810200f2b2 (diff)
downloadgcc-786a48dd970b9fb5825bd092278989b0cecacbc7.zip
gcc-786a48dd970b9fb5825bd092278989b0cecacbc7.tar.gz
gcc-786a48dd970b9fb5825bd092278989b0cecacbc7.tar.bz2
gcc-dg.exp (dg-xfail-if): Fix thinko.
* lib/gcc-dg.exp (dg-xfail-if): Fix thinko. * gcc.c-torture/compile/simd-5.c: Remove spurious PowerPC-64 XFAIL indications. From-SVN: r68034
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/simd-5.c11
-rw-r--r--gcc/testsuite/lib/gcc-dg.exp4
3 files changed, 11 insertions, 9 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 778351a..0d714dd 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,7 +1,8 @@
2003-06-16 Mark Mitchell <mark@codesourcery.com>
- * gcc.c-torture/compile/simd-5.c: Correct SPARC XFAIL indications.
- Remove spurious PowerPC-64 XFAIL indications.
+ * lib/gcc-dg.exp (dg-xfail-if): Fix thinko.
+ * gcc.c-torture/compile/simd-5.c: Remove spurious PowerPC-64 XFAIL
+ indications.
2003-06-16 Roger Sayle <roger@eyesopen.com>
diff --git a/gcc/testsuite/gcc.c-torture/compile/simd-5.c b/gcc/testsuite/gcc.c-torture/compile/simd-5.c
index 1574806..6907fa5 100644
--- a/gcc/testsuite/gcc.c-torture/compile/simd-5.c
+++ b/gcc/testsuite/gcc.c-torture/compile/simd-5.c
@@ -1,10 +1,9 @@
-/* On SPARC64/SPARC-V9 it fails, except with -m32. On regular SPARC
- it doesn't fail, except with -m64. In other words, this test fails
- on 64-bit SPARC. Unfortunately, there's no way to encode that
- information in the dg framework, so the test will XPASS on 32-bit
- SPARC. */
/* h8300 does not have long long */
-/* { dg-excess-errors "PR target/9200" { xfail "sparc*-*-*" "h8300-*-*" } } */
+/* { dg-do assemble { xfail h8300-*-* } } */
+/* 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" } { "" } } */
#define vector64 __attribute__((vector_size(8)))
diff --git a/gcc/testsuite/lib/gcc-dg.exp b/gcc/testsuite/lib/gcc-dg.exp
index 69cf6fb..db616d8 100644
--- a/gcc/testsuite/lib/gcc-dg.exp
+++ b/gcc/testsuite/lib/gcc-dg.exp
@@ -315,7 +315,9 @@ proc dg-require-dll { args } {
# Like check_conditional_xfail, but callable from a dg test.
proc dg-xfail-if { args } {
- eval check_conditional_xfail $args
+ set args [lreplace $args 0 0]
+ global compiler_conditional_xfail_data
+ set compiler_conditional_xfail_data $args
}