* tree-loop-distribution.c (struct builtin_info): New struct.
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ldist-31.c
blob60a9f743b1b15021c451ff66663bd54548c0bb9c
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -ftree-loop-distribution -ftree-loop-distribute-patterns -fdump-tree-ldist-details" } */
4 #define M (256)
5 #define N (512)
6 int a[M][N], b[M][N], c[M];
8 void
9 foo (void)
11 for (int i = M - 1; i >= 0; --i)
13 c[i] = 0;
14 for (unsigned j = N; j > 0; --j)
15 a[i][j - 1] = b[i][j - 1];
19 /* { dg-final { scan-tree-dump-times "Loop nest . distributed: split to 0 loops and 2 library" 1 "ldist" } } */