aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr89594.c
blob: 4039f735af80892c57ff0eea2fa9adbce7869024 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* { dg-do compile } */
/* { dg-options "-O -ftree-loop-if-convert -ftree-loop-vectorize -fno-tree-ch" } */

int h3;

void
in (void)
{
  long int zr;
  int ee = 0;

  for (zr = 0; zr < 1; zr = h3)
    {
      ee = !!h3 ? zr : 0;

      h3 = 0;
      while (h3 < 0)
	h3 = 0;
    }

  h3 = 0;
  while (h3 < 1)
    h3 = !!ee ? (!!h3 + 1) : 0;
}