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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [ld/] [testsuite/] [ld-gc/] [gc.c] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
int unused_var = 7;
2
int used_var = 7;
3
 
4
int
5
unused_func (int v)
6
{
7
  return 3 * unused_var;
8
}
9
 
10
int
11
__attribute__((noinline))
12
used_func (int v)
13
{
14
  return 2 * used_var;
15
}
16
 
17
int
18
main (void)
19
{
20
  return used_func (5);
21
}

powered by: WebSVN 2.1.0

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