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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [c-c++-common/] [pr43942.c] - Rev 717

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

/* PR debug/43942 */
/* { dg-do compile } */
/* { dg-options "-O2 -fcompare-debug" } */
 
extern int f1 (int);
 
int
f2 (int x)
{
  extern int v;
  return f1 (x);
}
 
void
f3 (void)
{
  f2 (0);
}
 
static inline int
f4 (int x)
{
  extern int w;
  if (w)
    return f1 (x);
  return 0;
}
 
void
f5 (void)
{
  f4 (0);
}
 

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.