summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr79187.c
blob: b310a02d6cd6aa7a8cc4d1c0493cafa10e0b103c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* { dg-do run } */

int printf (const char *, ...);

int a, b = -600, c, d[] = { 0 }, e, f, g = -1, h;
unsigned i = ~0;

int main ()
{
  for (; h < 2; h++)
    {
      if (a > 0)
	printf ("%d\n", d[b]);
      f = ~(b % i);
      c = g | (f && g) && e | b;
      a = ~(~g & b);
    }
  return 0; 
}