URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
// PR 22022
|
// PR 22022
|
// { dg-do compile }
|
// { dg-do compile }
|
// { dg-options "-O2" }
|
// { dg-options "-O2" }
|
|
|
_Complex float f();
|
_Complex float f();
|
_Complex float g();
|
_Complex float g();
|
_Complex float h()throw();
|
_Complex float h()throw();
|
void i(float)throw();
|
void i(float)throw();
|
|
|
float j(void)
|
float j(void)
|
{
|
{
|
_Complex float x = h();
|
_Complex float x = h();
|
try
|
try
|
{
|
{
|
try
|
try
|
{
|
{
|
x = f();
|
x = f();
|
}catch (...)
|
}catch (...)
|
{
|
{
|
x += g();
|
x += g();
|
}
|
}
|
}catch(...){}
|
}catch(...){}
|
i(__builtin_crealf(x)+__builtin_cimagf(x));
|
i(__builtin_crealf(x)+__builtin_cimagf(x));
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.