diff options
author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-20 16:10:13 +0000 |
---|---|---|
committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-20 16:10:13 +0000 |
commit | 4ef814a6b8bdc08554b59f29e5a46638e655c612 (patch) | |
tree | ea5cd969c9fb95ef96db266a2760f79831ac26c9 /gcc/testsuite/lib | |
parent | 0dcef890feccd7a21ec228d09d11bcb64cb69f60 (diff) | |
download | gcc-4ef814a6b8bdc08554b59f29e5a46638e655c612.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68272 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/lib')
-rw-r--r-- | gcc/testsuite/lib/gcc-dg.exp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/testsuite/lib/gcc-dg.exp b/gcc/testsuite/lib/gcc-dg.exp index db616d8567f..827062352f8 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 + } } |