URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
// PR target/12712
|
// PR target/12712
|
// Origin: Markus Schoder
|
// Origin: Markus Schoder
|
|
|
// This used to segfault on x86 because the reg-stack pass
|
// This used to segfault on x86 because the reg-stack pass
|
// created an unreachable basic block by purging an outgoing
|
// created an unreachable basic block by purging an outgoing
|
// edge, and was not prepared to handle it.
|
// edge, and was not prepared to handle it.
|
|
|
// { dg-do compile }
|
// { dg-do compile }
|
|
|
struct A
|
struct A
|
{
|
{
|
~A();
|
~A();
|
float f(float x);
|
float f(float x);
|
float g() const {return 0;}
|
float g() const {return 0;}
|
};
|
};
|
|
|
void h()
|
void h()
|
{
|
{
|
A a, b;
|
A a, b;
|
a.f(b.g() + 1);
|
a.f(b.g() + 1);
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.