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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [debug/] [pr44182.C] - Blame information for rev 717

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

Line No. Rev Author Line
1 693 jeremybenn
// PR tree-optimization/44182
2
// { dg-do compile }
3
// { dg-options "-fcompare-debug" }
4
 
5
struct S
6
{
7
  int i;
8
  S ();
9
  ~S ();
10
  void f1 ();
11
  void f2 (S s)
12
  {
13
    f3 (s.i);
14
    for (int j = 0; j < s.i; j++) f1 ();
15
  }
16
  void f3 (int j)
17
  {
18
    if (j > i) f1 ();
19
  }
20
};
21
 
22
void
23
f (S *x)
24
{
25
  x->f2 (S ());
26
}

powered by: WebSVN 2.1.0

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