summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr46255.c
blob: e3c9fa76710a48f876b3334f787eb97e93a85bb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* PR debug/46255 */
/* { dg-do compile } */
/* { dg-options "-fcompare-debug -fprofile-generate -O" } */

int bar (void);

void
foo (int i)
{
  while (i)
    i = bar ();
}