OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [c-c++-common/] [pr43942.c] - Diff between revs 295 and 384

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

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

powered by: WebSVN 2.1.0

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