URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [debug/] [pr46338.C] - Rev 704
Go to most recent revision | Compare with Previous | Blame | View Log
// PR debug/46338
// { dg-do compile }
// { dg-require-profiling "-fprofile-generate" }
// { dg-options "-O -fprofile-generate -fcompare-debug" }
void bar ();
struct S
{
int f ()
{
}
};
S *s;
void
foo (int x)
{
if (x)
return;
bar ();
for (int j = 0; j < s->f (); j++)
;
}
Go to most recent revision | Compare with Previous | Blame | View Log