1 /* { dg-require-effective-target vect_int } */
9 static int a
[N
][N
] = {{ 1, 2, 3, 4, 5},
15 static int c
[N
][N
] = {{ 1, 2, 3, 4, 5},
23 __attribute__ ((noinline
))
24 int main1 (int A
[N
][N
], int n
)
30 for (i
= 1; i
< N
; i
++)
32 for (j
= 0; j
< n
; j
++)
34 A
[i
][j
] = A
[i
-1][j
] + A
[i
][j
];
52 for (i
= 0; i
< N
; i
++)
54 for (j
= 0; j
< N
; j
++)
56 if (a
[i
][j
] != c
[i
][j
])
63 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
64 /* { dg-final { scan-tree-dump-times "possible dependence between data-refs" 0 "vect" } } */
65 /* { dg-final { cleanup-tree-dump "vect" } } */