view gcc/testsuite/gcc.c-torture/compile/930325-1.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
line wrap: on
line source

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);
}