1 /* { dg-require-effective-target size32plus } */
10 int A[N][N], B[N][N], C[N][N];
12 static int __attribute__((noinline))
17 for (i = 0; i < N; i++)
18 for (j = 0; j < N; j++)
21 for (k = 0; k < N; k++)
22 A[i][j] += B[i][k] * C[k][j];
25 return A[0][0] + A[N-1][N-1];
33 for (i = 0; i < N; i++)
34 for (j = 0; j < N; j++)
44 fprintf (stderr, "res = %d \n", res);
47 /* Avoid runtime check for this testcase, as it is miscompiled by
48 Graphite for the moment. */
50 return res != 2626800;
53 /* { dg-final { scan-tree-dump-times "will be interchanged" 1 "graphite" } } */
54 /* { dg-final { cleanup-tree-dump "graphite" } } */