1 /* { dg-require-effective-target vect_int } */
13 __attribute__ ((noinline
)) int
19 for (i
= 0; i
< N
; i
++) {
22 check_diff
+= (cb
[i
] - cc
[i
]);
23 /* Avoid vectorization. */
28 /* Cross-iteration cycle. */
30 for (i
= 0; i
< N
; i
++) {
31 diff
+= (cb
[i
] - cc
[i
]);
35 if (diff
!= check_diff
)
47 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target vect_unpack } } } */
48 /* { dg-final { cleanup-tree-dump "vect" } } */