aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr111727.c
blob: fb68e197e2bbf48aef4d0c1ecb515244b623a73e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-do run } */
/* { dg-additional-options "-fsplit-loops" } */

int a, b;
int main()
{
  for (; a < 4; a += 2)
    if (a > 2)
      while (b++);
  ;
  if (a != 4)
    __builtin_abort();
  return 0;
}