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

int a, b, c;

int main ()
{
  int d;
  for (; c < 1; c++)
    for (d = 0; d < 3; d++)
      for (b = 0; b < 1; b++)
	if (c >= d)
	  a = 1;

  if (a != 1)
    __builtin_abort ();

  return 0;
}