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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr40570.c] - Blame information for rev 764

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

Line No. Rev Author Line
1 688 jeremybenn
extern void anything(int);
2
 
3
static int foo(int i);
4
 
5
static int bar(int i) { foo(i); }
6
 
7
extern int j;
8
 
9
static int foo(int i)
10
{
11
  if (j)
12
    anything(j);
13
  return bar(i);
14
}
15
 
16
int baz()
17
{
18
  foo(0);
19
  if (baz())
20
    return 1;
21
  return 0;
22
}

powered by: WebSVN 2.1.0

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