2008-05-30 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ssa-lim-6.c
blob0da57aa087dde2d8d7e9ee20b32d534ec552ea0b
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-lim-details" } */
4 double a[16][64], y[64], x[16];
5 void foo(void)
7 int i, j;
8 for (j = 0; j < 64; ++j)
9 for (i = 0; i < 16; ++i)
10 y[j] = y[j] + a[i][j] * x[i];
13 /* { dg-final { scan-tree-dump "Executing store motion of y" "lim" } } */
14 /* { dg-final { cleanup-tree-dump "lim" } } */