SVE Intrinsics: Change return type of redirect_call to gcall.
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / vect-early-break_116-pr113750.c
blob4e02158aa351c8e1a5edf6cc7bcab0b5eaa06795
1 /* { dg-do compile } */
2 /* { dg-add-options vect_early_break } */
3 /* { dg-require-effective-target vect_early_break } */
4 /* { dg-require-effective-target vect_int } */
6 /* { dg-final { scan-tree-dump "LOOP VECTORIZED" "vect" } } */
8 #ifndef N
9 #define N 800
10 #endif
11 unsigned vect_a[N];
12 unsigned vect_b[N];
14 unsigned test4(unsigned x)
16 unsigned ret = 0;
17 for (int i = 0; i < N; i++)
19 vect_b[i] = x + i;
20 if (vect_a[i] != x)
21 foo:
22 break;
23 vect_a[i] = x;
25 return ret;