summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/930523-1.c
blob: 5f2b5b5d7e3a6b069c6b5c5bf1dbce8c49282261 (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
49
50
51
52
53
54
int v;

f ()
{
  unsigned long *a1, *a2;
  int vertex2;
  int c, x1, x2, dx1, dx2, dy1, dy2, e1, e2, s2;
  unsigned long m, b;
  int n;
  unsigned long r;
  int aba;

  do
    {
      if (dx2 >= dy2)
	dx2 = dx2 % dy2;

      if (dx2 >= dy2)
	{
	  s2 = - (dx2 / dy2);
	  dx2 = dx2 % dy2;
	}
    }
  while (vertex2 / 65536);

  for (;;)
    {
      c = x2;
      a2 = a1;
      if (v)
	a2 = 0;

      if (c + n)
	{
	  m = b << (c * 8);
	  *a2 = (*a2 & ~m) | (r & m);
	  n += c;

	  while (--n)
	    {
	      {
	      }
	    }
	}

      a1 = 0;
      x1 += 0;
      if (e1 += dx1)
	e1 -= dy1;
      x2 += s2;
      if (e2 += dx2)
	e2 -= dy2;
    }
}