block-3.c: Fix compile error on 32bit.

2009-01-10  Sebastian Pop  <sebastian.pop@amd.com>

	* gcc.dg/graphite/block-3.c: Fix compile error on 32bit.

From-SVN: r143258
This commit is contained in:
Sebastian Pop 2009-01-11 00:40:54 +00:00 committed by Sebastian Pop
parent 43b399e233
commit 5a2971ffa1
2 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,7 @@
2009-01-10 Sebastian Pop <sebastian.pop@amd.com>
* gcc.dg/graphite/block-3.c: Fix compile error on 32bit.
2009-01-10 Andrew Pinski <pinskia@gmail.com>
PR c++/38648

View File

@ -1,9 +1,9 @@
/* { dg-options "-O2 -floop-block -fdump-tree-graphite-all" } */
#define N 24
#define M 1000
#define M 100
float A[1000][1000][1000], B[1000][1000], C[1000][1000];
float A[M][M][M], B[M][M], C[M][M];
void test (void)
{
@ -16,9 +16,9 @@ void test (void)
A[i][j][k] = B[i][k] * C[k][j];
/* These loops should still be strip mined. */
for (i = 0; i < 1000; i++)
for (j = 0; j < 1000; j++)
for (k = 0; k < 1000; k++)
for (i = 0; i < M; i++)
for (j = 0; j < M; j++)
for (k = 0; k < M; k++)
A[i][j][k] = B[i][k] * C[k][j];
}