blob: caf71170f2c2fa7711b09e0d2c9c7858be282016 [file] [log] [blame]
// 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++)
;
}