summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/graphite/id-12.c
blob: 57857d1d20c7c83707e34fde7bbcf58b9ab87a31 (plain)
1
2
3
4
5
6
7
8
9
10
void
foo (unsigned short x[])
{
  int i;
  unsigned short *p = &x[2];
  if (*p)
    x += 2;
  for (i = 2; i < 9; i++, ++x)
    *x >>= 8;
}