URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [debug/] [pr44182.C] - Rev 801
Go to most recent revision | Compare with Previous | Blame | View Log
// PR tree-optimization/44182
// { dg-do compile }
// { dg-options "-fcompare-debug" }
struct S
{
int i;
S ();
~S ();
void f1 ();
void f2 (S s)
{
f3 (s.i);
for (int j = 0; j < s.i; j++) f1 ();
}
void f3 (int j)
{
if (j > i) f1 ();
}
};
void
f (S *x)
{
x->f2 (S ());
}
Go to most recent revision | Compare with Previous | Blame | View Log