aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr79780.c
blob: c50708d9adae8f8734e771653d7742de06c4903e (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/* PR rtl-optimization/79780 */

int t3, iy, f4, oi, gn;

void
foo (long long int mh)
{
  int pi = 0;

  if (iy != 0)
    for (;;)
      f4 = 0;

  if (t3 != 0)
    {
      while (mh != 0LL)
	{
	  while (mh < 1LL)
	    ++mh;
	  ++mh;
	}
      for (;;)
	;
      for (oi = 0; oi < 1; ++oi)
	{
	n3:;
	}
      gn = iy = 1;
    }

  f4 = 0;

  if (pi - (mh != 0LL) == 0)
    if (mh != 1LL)
      {
	oi = t3 = 0;
	if (mh == 0LL)
	  ++pi;
      }

  if (iy != 0 && pi != 0)
    {
      t3 = 0;
      goto n3;
    }

  t3 /= 0;
}