summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/930325-1.c
blob: 24cea5027ab55ad9e35ed952dc9069434016a124 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
typedef unsigned uint;

inline
g (uint *s, uint *d, uint c)
{
  while (c != 0)
    {
      *--d = *--s;
      c--;
    }
}

f (uint *p1, uint c, uint *p2)
{
  while (c > 0 && *p1 == 0)
    {
      p1++;
      c--;
    }
  if (c == 0)
    return 1;
  g (p2, p1, c);
}