URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
/* The problem here is that Load PRE on the tree level
|
/* The problem here is that Load PRE on the tree level
|
forgot to handle RETURN_DECL which causes us to ICE. */
|
forgot to handle RETURN_DECL which causes us to ICE. */
|
|
|
// { dg-do compile }
|
// { dg-do compile }
|
// { dg-options "-O2" }
|
// { dg-options "-O2" }
|
|
|
struct a
|
struct a
|
{
|
{
|
int i;
|
int i;
|
};
|
};
|
void h(struct a&);
|
void h(struct a&);
|
void l(void);
|
void l(void);
|
|
|
struct a g(void)
|
struct a g(void)
|
{
|
{
|
struct a fl;
|
struct a fl;
|
h(fl);
|
h(fl);
|
if (fl.i)
|
if (fl.i)
|
l();
|
l();
|
fl.i+=2;
|
fl.i+=2;
|
return fl;
|
return fl;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.