From patchwork Tue Sep 18 19:56:56 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [testsuite] vect/fast-math-pr35982: skip check instead of xfail Date: Tue, 18 Sep 2012 09:56:56 -0000 From: Janis Johnson X-Patchwork-Id: 184822 Message-Id: <5058D208.9000403@mentor.com> To: "gcc-patches@gcc.gnu.org" 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 * 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" } } */