Test gcc.dg/vect/fast-math-pr35982.c uses xfail in a dg-final check when
it should instead skip the check for that effective target.  Tested on
arm-none-eabi for a variety of test multilibs, checked in on trunk as
obvious.  I'll backport to 4.6 when the branch is open.

Janis
2012-09-18  Janis Johnson  <jani...@codesourcery.com>

        * gcc.dg/vect/fast-math-pr35982.c: Skip check instead of xfail.

Index: gcc.dg/vect/fast-math-pr35982.c
===================================================================
--- gcc.dg/vect/fast-math-pr35982.c     (revision 191440)
+++ gcc.dg/vect/fast-math-pr35982.c     (working copy)
@@ -21,5 +21,5 @@
 }
 
 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target { 
vect_extract_even_odd || vect_strided2 } } } } */
-/* { dg-final { scan-tree-dump-times "vectorized 0 loops" 1 "vect" { xfail { 
vect_extract_even_odd || vect_strided2 } } } } */
+/* { dg-final { scan-tree-dump-times "vectorized 0 loops" 1 "vect" { target { 
! { vect_extract_even_odd || vect_strided2 } } } } } */
 /* { dg-final { cleanup-tree-dump "vect" } } */

Reply via email to