OSDN Git Service

* lib/gcc-dg.exp (dg-xfail-if): Do not process conditional xfail
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Jun 2003 16:10:13 +0000 (16:10 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Jun 2003 16:10:13 +0000 (16:10 +0000)
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

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/simd-5.c
gcc/testsuite/lib/gcc-dg.exp

index ff02c29..dbb89db 100644 (file)
@@ -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.
index f2abb79..d82b504 100644 (file)
@@ -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)))
 
index db616d8..8270623 100644 (file)
@@ -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
+    }
 }