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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.18.50/] [ld/] [testsuite/] [ld-gc/] [gc.c] - Rev 179

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

int unused_var = 7;
int used_var = 7;
 
int
unused_func (int v)
{
  return 3 * unused_var;
}
 
int
__attribute__((noinline))
used_func (int v)
{
  return 2 * used_var;
}
 
int
main (void)
{
  return used_func (5);
}
 

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

powered by: WebSVN 2.1.0

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