1 /* { dg-require-effective-target vect_int } */
2 /* { dg-additional-options "-fdump-tree-optimized-details-blocks" } */
9 char cb
[N
] = {2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17};
10 char cc
[N
] = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16};
12 __attribute__ ((noinline
)) int
18 /* Cross-iteration cycle. */
20 for (i
= 0; i
< N
; i
++) {
21 diff
+= (cb
[i
] - cc
[i
]);
37 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target vect_unpack } } } */
40 /* { dg-final { scan-tree-dump-not "Invalid sum" "optimized" } } */