1 /* { dg-require-effective-target size32plus } */
3 /* Formerly known as ltrans-6.c */
13 static int __attribute__((noinline))
18 /* This loop should be interchanged. */
19 for(j = 0; j < M; j++)
20 for(i = 0; i < N; i++)
21 A[i][j] = A[i][j] + A[i][j];
23 return A[0][0] + A[N-1][M-1];
34 for (i = 0; i < N; i++)
35 for (j = 0; j < M; j++)
41 fprintf (stderr, "res = %d \n", res);
50 /* { dg-final { scan-tree-dump-times "will be interchanged" 1 "graphite" } } */
51 /* { dg-final { cleanup-tree-dump "graphite" } } */