1 /* { dg-require-effective-target vect_int } */
8 static int a
[N
][N
] = {{ 1, 2, 3, 4, 5},
14 static int c
[N
][N
] = {{ 1, 2, 3, 4, 5},
20 __attribute__ ((noinline
))
21 int main1 (int A
[N
][N
], int n
)
27 for (i
= 1; i
< N
; i
++)
29 for (j
= 0; j
< n
; j
++)
31 A
[i
][j
] = A
[i
-1][j
] + A
[i
][j
];
48 for (i
= 0; i
< N
; i
++)
50 for (j
= 0; j
< N
; j
++)
52 if (a
[i
][j
] != c
[i
][j
])
59 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
60 /* { dg-final { scan-tree-dump-times "possible dependence between data-refs" 0 "vect" } } */