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

int a, b, c;
volatile char d;
int main()
{
  for (; b < 1; b++)
    for (char e = -17; e < 1; e += 5)
      {
	if (e ? a % e : 0)
	  d;
	for (c = 0; c < 1; c++)
	  ;
      }
  return 0;
}