cfgexpand: Expand comment on when non-var clobbers can show up
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / vect-early-break_34.c
blob63f1bb4254c60190e690002f6546d160a8f3ffde
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_int } */
6 #ifndef N
7 #define N 803
8 #endif
10 unsigned vect_a[N] __attribute__ ((aligned (4)));;
11 unsigned vect_b[N];
13 unsigned test4(unsigned x)
15 unsigned ret = 0;
17 for (int i = 1; i < N; i++)
19 vect_b[i] = x + i;
20 if (vect_a[i]*2 > x)
21 break;
22 vect_a[i] = x;
25 return ret;
28 /* { dg-final { scan-tree-dump "vectorized 1 loops in function" "vect" } } */