1 /* { dg-require-effective-target vect_int } */
15 static int a
[N
] = {1,2,3,4,5,6,7,8,9};
16 static int b
[N
] = {2,3,4,5,6,7,8,9,9};
18 __attribute__ ((noinline
))
19 int main1 (int x
, int y
) {
22 p
= (struct extraction
*) malloc (sizeof (struct extraction
));
24 for (i
= 0; i
< N
; i
++)
27 asm volatile ("" ::: "memory");
30 /* Not vectorizable: distance 1. */
32 for (i
= 0; i
< N
- 1; i
++)
34 *((int *)p
+ x
+ i
+ 1) = *((int *)p
+ x
+ i
);
39 for (i
= 0; i
< N
; i
++)
54 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 0 "vect" } } */
55 /* { dg-final { scan-tree-dump-times "possible dependence between data-refs" 1 "vect" { target { ! vect_multiple_sizes } } } } */
56 /* { dg-final { scan-tree-dump "possible dependence between data-refs" "vect" { target vect_multiple_sizes } } } */