Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr72772.c
blobb9985618093722abbd757d83abc2eb2a4e89ea78
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -ftree-loop-distribution -fdump-tree-ldist-details" } */
4 int foo (int flag, char *a)
6 short i, j;
7 short l = 0;
8 if (flag == 1)
9 l = 3;
11 for (i = 0; i < 4; i++)
13 for (j = l - 1; j > 0; j--)
14 a[j] = a[j - 1];
15 a[0] = i;
19 /* Addresses of array reference a[j] and a[j - 1] are SCEVs. */
20 /* { dg-final { scan-tree-dump-not "failed: evolution of base is not affine." "ldist" } } */