1 /* { dg-require-effective-target vect_condition } */
7 int c
[N
] = {3,2,1,10,1,42,3,4,50,9,32,8,11,10,1,2};
8 int a
[N
+1] = {0,16,32,48,64,128,256,512,0,16,32,48,64,128,256,512,1024};
10 __attribute__ ((noinline
)) void
14 int curr_a
, flag
, next_a
;
18 for (i
= 0; i
< N
; i
++)
22 curr_a
= flag
? curr_a
: next_a
;
42 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail { ! vect_max_reduc } } } } */