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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr49000.c] - Rev 689

Compare with Previous | Blame | View Log

/* PR tree-optimization/49000 */
/* { dg-do compile } */
/* { dg-options "-O2 -g" } */
 
static
foo (int x, int y)
{
  return x * y;
}
 
static int
bar (int *z)
{
  return *z;
}
 
void
baz (void)
{
  int a = 42;
  int *b = &a;
  foo (bar (&a), 3);
}
 
void
test (void)
{
  baz ();
}
 

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.