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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [torture/] [pr43801.C] - Blame information for rev 301

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 301 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.