diff mbox

[testsuite] vect/fast-math-pr35982: skip check instead of xfail

Message ID 5058D208.9000403@mentor.com
State New
Headers show

Commit Message

Janis Johnson Sept. 18, 2012, 7:56 p.m. UTC
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  <janisjo@codesourcery.com>

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

Patch

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" } } */