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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.other/] [debug2.C] - Diff between revs 149 and 154

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 149 Rev 154
// { dg-do assemble  }
// { dg-do assemble  }
// { dg-options "-funroll-loops -O2 -g" }
// { dg-options "-funroll-loops -O2 -g" }
inline void f()
inline void f()
{
{
  typedef int T;
  typedef int T;
}
}
inline void g()
inline void g()
{
{
  typedef double U;
  typedef double U;
}
}
int n;
int n;
struct B
struct B
{
{
  ~B() {
  ~B() {
    for (int i = 0; i < n; ++i)
    for (int i = 0; i < n; ++i)
      g();
      g();
  }
  }
};
};
struct D : public B {
struct D : public B {
  ~D() {
  ~D() {
    for (int j = 0; j < n; ++j)
    for (int j = 0; j < n; ++j)
      f();
      f();
  }
  }
};
};
D d;
D d;
 
 

powered by: WebSVN 2.1.0

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