URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
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);
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.