URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 301 |
Rev 338 |
/* { dg-do run } */
|
/* { dg-do run } */
|
/* { dg-options "-O2" } */
|
/* { dg-options "-O2" } */
|
|
|
/* The tail call optimization would inapproriately tail call the
|
/* The tail call optimization would inapproriately tail call the
|
destructors due to not recognizing a call clobbered variable */
|
destructors due to not recognizing a call clobbered variable */
|
namespace std
|
namespace std
|
{
|
{
|
class locale
|
class locale
|
{
|
{
|
public:
|
public:
|
locale();
|
locale();
|
~locale();
|
~locale();
|
};
|
};
|
}
|
}
|
|
|
struct B
|
struct B
|
{
|
{
|
std::locale _M_buf_locale;
|
std::locale _M_buf_locale;
|
virtual ~B() {}
|
virtual ~B() {}
|
};
|
};
|
|
|
struct C : public B
|
struct C : public B
|
{
|
{
|
char *s;
|
char *s;
|
};
|
};
|
|
|
void foo ()
|
void foo ()
|
{
|
{
|
C c;
|
C c;
|
}
|
}
|
|
|
int main()
|
int main()
|
{
|
{
|
foo ();
|
foo ();
|
return 0;
|
return 0;
|
}
|
}
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.