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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20000629-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
struct a
2
{
3
  struct a * x;
4
};
5
 
6
void
7
foo (struct a * b)
8
{
9
  int i;
10
 
11
  for (i = 0; i < 1000; i++)
12
    {
13
      b->x = b;
14
      b++;
15
    }
16
}
17
 
18
void
19
bar (struct a * b)
20
{
21
  int i;
22
 
23
  for (i = 0; i < 1000; i++)
24
    {
25
      b->x = b;
26
      b--;
27
    }
28
}

powered by: WebSVN 2.1.0

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