* 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
+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
/* 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)))
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
+ }
}