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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr41101.c] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
int func(int);
2
 
3
void
4
bug(int* x, int* y, unsigned long int N)
5
{
6
  unsigned long int i;
7
  int* t;
8
 
9
  while (1)
10
    {
11
      for (i=1; i<=N; i++)
12
        {
13
          y[i] = func(x[i] - x[1]);
14
          if (y[i])
15
            return;
16
        }
17
      t=x; x=y; y=t;
18
    }
19
}

powered by: WebSVN 2.1.0

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