OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
static unsigned int bar(void *h, unsigned int n)
2
{
3
  static int i;
4
  return i++;
5
}
6
 
7
static void baz(unsigned int *x)
8
{
9
  (*x)++;
10
}
11
 
12
long
13
foo(void *h, unsigned int l)
14
{
15
  unsigned int n;
16
  long m;
17
  n = bar(h, 0);
18
  n = bar(h, n);
19
  m = ({ baz(&n); 21; });
20
  return m;
21
}

powered by: WebSVN 2.1.0

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