Hello gcc.dg/vect/vect-iv-5.c XPASSes for arm-*-* since gcc.dg/vect/*.c tests are always run with -ffast-math for arm-*-*. This patch makes xfail conditional for this test by adding effective target keyword !arm_neon_ok.
OK for trunk? Regards VP -- gcc/testsuite/ChangeLog: 2013-07-22 Vidya Praveen <vidyaprav...@arm.com> * gcc.dg/vect/vect-iv-5.c: Make xfail conditional with !arm_neon_ok.
diff --git a/gcc/testsuite/gcc.dg/vect/vect-iv-5.c b/gcc/testsuite/gcc.dg/vect/vect-iv-5.c index 1766ae6..8861095 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-iv-5.c +++ b/gcc/testsuite/gcc.dg/vect/vect-iv-5.c @@ -36,5 +36,5 @@ int main (void) return main1 (); } -/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */ +/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail {! arm_neon_ok } } } } */ /* { dg-final { cleanup-tree-dump "vect" } } */