URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-O2" } */
|
/* { dg-options "-O2" } */
|
/* FRE testcase for PR 24231, problem with PRE coalescing abnormal phis. */
|
/* FRE testcase for PR 24231, problem with PRE coalescing abnormal phis. */
|
struct f
|
struct f
|
{
|
{
|
int i;
|
int i;
|
};
|
};
|
struct h{h();};
|
struct h{h();};
|
int g(void);
|
int g(void);
|
int g1(void) throw();
|
int g1(void) throw();
|
int h2222(f*);
|
int h2222(f*);
|
void ghh(int);
|
void ghh(int);
|
|
|
int main(void)
|
int main(void)
|
{
|
{
|
int i;
|
int i;
|
f t;
|
f t;
|
try
|
try
|
{
|
{
|
i = g1();
|
i = g1();
|
try
|
try
|
{
|
{
|
i = g();
|
i = g();
|
}catch(...)
|
}catch(...)
|
{}
|
{}
|
int j = i;
|
int j = i;
|
try
|
try
|
{
|
{
|
i = g();
|
i = g();
|
}catch(...)
|
}catch(...)
|
{}
|
{}
|
t.i = j;
|
t.i = j;
|
i = 2;
|
i = 2;
|
int h = t.i;
|
int h = t.i;
|
ghh (h);
|
ghh (h);
|
|
|
g();
|
g();
|
}catch(...)
|
}catch(...)
|
{}
|
{}
|
return i;
|
return i;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.