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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [930325-1.c] - Blame information for rev 297

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 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.