openmp: Add testcases for omp_max_vf
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / vect-early-break_50.c
blobb3cf2d7f05f0445cdc2d6a3961c4c6f955f92220
1 /* { dg-add-options vect_early_break } */
2 /* { dg-do compile } */
3 /* { dg-require-effective-target vect_early_break } */
4 /* { dg-require-effective-target vect_float } */
6 extern void abort();
7 float a[1024], b[1024], c[1024], d[1024];
8 _Bool k[1024];
10 int main ()
12 int i;
13 for (i = 0; i < 1024; i++)
14 if (k[i] != ((i % 3) == 0 && ((i / 9) % 3) == 0))
15 abort ();
18 /* { dg-final { scan-tree-dump "vectorized 1 loops in function" "vect" { xfail *-*-* } } } */