SVE Intrinsics: Change return type of redirect_call to gcall.
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / vect-early-break_41.c
blob31a8ed2d3e2f33978aae04c1ac02b104896c6151
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
9 unsigned vect_a[N];
10 unsigned vect_b[N];
12 unsigned test4(unsigned x)
14 unsigned ret = 0;
15 #pragma GCC novector
16 #pragma GCC unroll 4
17 for (int i = 0; i < N; i++)
19 vect_b[i] += vect_a[i] + x;
21 return ret;
24 /* novector should have blocked vectorization. */
25 /* { dg-final { scan-tree-dump-not "vectorized \d loops in function" "vect" } } */