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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [930325-1.c] - Diff between revs 149 and 154

Only display areas with differences | Details | Blame | View Log

Rev 149 Rev 154
typedef unsigned uint;
typedef unsigned uint;
 
 
inline
inline
g (uint *s, uint *d, uint c)
g (uint *s, uint *d, uint c)
{
{
  while (c != 0)
  while (c != 0)
    {
    {
      *--d = *--s;
      *--d = *--s;
      c--;
      c--;
    }
    }
}
}
 
 
f (uint *p1, uint c, uint *p2)
f (uint *p1, uint c, uint *p2)
{
{
  while (c > 0 && *p1 == 0)
  while (c > 0 && *p1 == 0)
    {
    {
      p1++;
      p1++;
      c--;
      c--;
    }
    }
  if (c == 0)
  if (c == 0)
    return 1;
    return 1;
  g (p2, p1, c);
  g (p2, p1, c);
}
}
 
 

powered by: WebSVN 2.1.0

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