summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/graphite/pr38559.c
blob: 7f90a50acd09cb7e4a181e6d53c74de087aad35e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-options "-O2" } */

int test()
{
  int offset, len;
  register char *mid;
  register char *midend;
  register char *bigend;
  long unsigned int curlen;
  if (offset + len > curlen) {
    while (midend > mid)
      *--bigend = *--midend;
  }
}