summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/graphite/block-4.c
blob: 773dfef5df63702622ec769f01951bbc07511dd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#define N 24
#define M 1000

float A[1000][1000], B[1000][1000], C[1000][1000];

void test (void)
{
  int i, j, k;

  for (i = 0; i < 24; i++)
    for (j = 0; j < 24; j++)
      for (k = 0; k < 24; k++)
        A[i][j] = B[i][k] * C[k][j];

  for (i = 0; i < 1000; i++)
    for (j = 0; j < 1000; j++)
      for (k = 0; k < 1000; k++)
        A[i][j] = B[i][k] * C[k][j];
}

/* { dg-final { cleanup-tree-dump "graphite" } } */