1 /* { dg-options "-g -O2 -ftree-loop-distribution -fgraphite-identity" } */
2 
3 int
foo(int * x)4 foo (int *x)
5 {
6   int a[10], b[10];
7   int i;
8   a[9] = 8;
9   b[9] = 8;
10   for (i = 0; i < 9; i++)
11     {
12       a[i] = *x++;
13       b[i] = 1;
14     }
15   b[i] = b[i] & !(a[i] ^ *x++);
16   return b[i] ? i + 1 : 0;
17 }
18