URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [torture/] [pr43801.C] - Rev 701
Go to most recent revision | Compare with Previous | Blame | View Log
// PR tree-optimization/43801
// { dg-do compile }
// { dg-options "-fipa-cp -fipa-cp-clone" }
struct A
{
virtual void f (int);
};
struct B : virtual A
{
virtual void f (int i) { if (i) A::f(0); }
};
struct C : virtual B
{
virtual void f (int) { B::f(0); }
};
void
foo ()
{
C ();
}
Go to most recent revision | Compare with Previous | Blame | View Log