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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20080812-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
/* PR middle-end/37014 */
2
 
3
void bar (signed char *);
4
 
5
void
6
foo (int x, int y)
7
{
8
  int i;
9
  signed char a[123], b[123], c;
10
  for (i = 0; i < 123; i++)
11
    {
12
      int e = y - x;
13
      int d = e < 0 ? -e : e;
14
      c = d < 75;
15
      a[y] = c;
16
      b[y] = c;
17
      y--;
18
    }
19
  bar (b);
20
  bar (a);
21
}

powered by: WebSVN 2.1.0

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