arm: fix typo in dg-require-effective-target [PR118089]
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ldist-33.c
blob67846a5b183f1b7508b62741e07278b9b9f265ae
1 /* { dg-do compile { target size32plus } } */
2 /* The desire is to show we can generate a memset from the outer loop
3 store. Both store motion and PRE expose a DSE opportunity for this
4 zeroing - while desirable this defeats the purpose of this testcase. */
5 /* { dg-options "-O2 -fno-tree-loop-im -fno-tree-pre -ftree-loop-distribution -ftree-loop-distribute-patterns -fdump-tree-ldist-details" } */
7 #define N (1024)
8 double a[N][N], b[N][N], c[N][N];
10 void
11 foo (void)
13 unsigned i, j, k;
15 for (i = 0; i < N; ++i)
16 for (j = 0; j < N; ++j)
18 c[i][j] = 0.0;
19 for (k = 0; k < N; ++k)
20 c[i][j] += a[i][k] * b[k][j];
24 /* { dg-final { scan-tree-dump "Loop nest . distributed: split to 1 loops and 1 library" "ldist" } } */