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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20080812-1.c] - Rev 297

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

/* PR middle-end/37014 */
 
void bar (signed char *);
 
void
foo (int x, int y)
{
  int i;
  signed char a[123], b[123], c;
  for (i = 0; i < 123; i++)
    {
      int e = y - x;
      int d = e < 0 ? -e : e;
      c = d < 75;
      a[y] = c;
      b[y] = c;
      y--;
    }
  bar (b);
  bar (a);
}
 

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

powered by: WebSVN 2.1.0

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