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 |
/* PR rtl-optimization/22003 */
|
/* PR rtl-optimization/22003 */
|
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-require-effective-target freorder } */
|
/* { dg-require-effective-target freorder } */
|
/* { dg-options "-O2 -fno-exceptions -freorder-blocks-and-partition" } */
|
/* { dg-options "-O2 -fno-exceptions -freorder-blocks-and-partition" } */
|
|
|
struct c1
|
struct c1
|
{
|
{
|
virtual ~c1();
|
virtual ~c1();
|
};
|
};
|
class c4;
|
class c4;
|
|
|
struct c2
|
struct c2
|
{
|
{
|
virtual c4* func();
|
virtual c4* func();
|
};
|
};
|
|
|
struct c3 : c1, c2
|
struct c3 : c1, c2
|
{
|
{
|
c4* func();
|
c4* func();
|
};
|
};
|
|
|
c4* c3::func()
|
c4* c3::func()
|
{
|
{
|
}
|
}
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.