aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/debug/pr47498.c
blob: 6bf1484cfaf72663a284c34320508b0d315f061b (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile } */
/* { dg-options "-O2 -fsched2-use-superblocks -fcompare-debug" } */

int bar(void *);

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