OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [torture/] [pr43801.C] - Blame information for rev 774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// PR tree-optimization/43801
2
// { dg-do compile }
3
// { dg-options "-fipa-cp -fipa-cp-clone" }
4
 
5
struct A
6
{
7
  virtual void f (int);
8
};
9
struct B : virtual A
10
{
11
  virtual void f (int i) { if (i) A::f(0); }
12
};
13
struct C : virtual B
14
{
15
  virtual void f (int) { B::f(0); }
16
};
17
 
18
void
19
foo ()
20
{
21
  C ();
22
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.