Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ldist-29.c
blob108fcf69833de1e948405e096f2f67c463c492de
1 /* { dg-do compile { target size32plus } } */
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 arr[M][N];
8 void
9 foo (void)
11 for (unsigned i = 0; i < M; ++i)
12 for (unsigned j = 0; j < N - 1; ++j)
13 arr[i][j] = 0;
16 /* { dg-final { scan-tree-dump-not "Loop nest . distributed: split to" "ldist" } } */
17 /* { dg-final { scan-tree-dump-times "Loop . distributed: split to 0 loops and 1 library" 1 "ldist" } } */