summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/debug/pr47501.c
blob: 3bfb5acc7e297f340efd06a812744bd80507c9b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile } */
/* { dg-options "-Os -fmodulo-sched -fcompare-debug" } */

void
foo (void)
{
  unsigned numlen;
  unsigned foldlen;
  for (; foldlen; foldlen -= numlen)
    foo ();
}