diff options
author | Mark Mitchell <mark@codesourcery.com> | 2003-06-20 16:10:13 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2003-06-20 16:10:13 +0000 |
commit | a3237033a13e9f2b625e7b6cd43b1f83a4531c90 (patch) | |
tree | ea5cd969c9fb95ef96db266a2760f79831ac26c9 | |
parent | 68361a039607fe2fbcd28cb4dae237f13f834f76 (diff) | |
download | gcc-a3237033a13e9f2b625e7b6cd43b1f83a4531c90.zip gcc-a3237033a13e9f2b625e7b6cd43b1f83a4531c90.tar.gz gcc-a3237033a13e9f2b625e7b6cd43b1f83a4531c90.tar.bz2 |
gcc-dg.exp (dg-xfail-if): Do not process conditional xfail data for non-matching targets.
* lib/gcc-dg.exp (dg-xfail-if): Do not process conditional xfail
data for non-matching targets.
* gcc.c-torture/compile/simd-5.c: Fix typo in conditional xfail.
Co-Authored-By: Eric Botcazou <ebotcazou@libertysurf.fr>
From-SVN: r68272
-rw-r--r-- | gcc/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/simd-5.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/lib/gcc-dg.exp | 7 |
3 files changed, 13 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ff02c29..dbb89db 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,4 +1,11 @@ 2003-06-20 Mark Mitchell <mark@codesourcery.com> + Eric Botcazou <ebotcazou@libertysurf.fr> + + * lib/gcc-dg.exp (dg-xfail-if): Do not process conditional xfail + data for non-matching targets. + * gcc.c-torture/compile/simd-5.c: Fix typo in conditional xfail. + +2003-06-20 Mark Mitchell <mark@codesourcery.com> PR c++/10845 * g++.dg/template/member3.C: New test. diff --git a/gcc/testsuite/gcc.c-torture/compile/simd-5.c b/gcc/testsuite/gcc.c-torture/compile/simd-5.c index f2abb79..d82b504 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" } { "" } } */ +/* { 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 db616d8..8270623 100644 --- a/gcc/testsuite/lib/gcc-dg.exp +++ b/gcc/testsuite/lib/gcc-dg.exp @@ -316,8 +316,11 @@ proc dg-require-dll { args } { proc dg-xfail-if { args } { set args [lreplace $args 0 0] - global compiler_conditional_xfail_data - set compiler_conditional_xfail_data $args + set selector "target [join [lindex $args 1]]" + if { [dg-process-target $selector] == "S" } { + global compiler_conditional_xfail_data + set compiler_conditional_xfail_data $args + } } |