OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [930325-1.c] - Blame information for rev 774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 688 jeremybenn
typedef unsigned uint;
2
 
3
inline
4
g (uint *s, uint *d, uint c)
5
{
6
  while (c != 0)
7
    {
8
      *--d = *--s;
9
      c--;
10
    }
11
}
12
 
13
f (uint *p1, uint c, uint *p2)
14
{
15
  while (c > 0 && *p1 == 0)
16
    {
17
      p1++;
18
      c--;
19
    }
20
  if (c == 0)
21
    return 1;
22
  g (p2, p1, c);
23
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.