Hi,
Test gcc.dg/vect/vect-cond-2.c still requires vect_max_reduc to be vectorized,
this patch adds the requirement.
Thanks,
bin
gcc/testsuite/ChangeLog
2016-11-09 Bin Cheng <bin.ch...@arm.com>
* gcc.dg/vect/vect-cond-2.c: Only drop xfail for targets supporting
vect_max_reduc.
diff --git a/gcc/testsuite/gcc.dg/vect/vect-cond-2.c
b/gcc/testsuite/gcc.dg/vect/vect-cond-2.c
index d7da803..646eac1 100644
--- a/gcc/testsuite/gcc.dg/vect/vect-cond-2.c
+++ b/gcc/testsuite/gcc.dg/vect/vect-cond-2.c
@@ -39,6 +39,6 @@ int main (void)
return 0;
}
-/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
+/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail { !
vect_max_reduc } } } } */