aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr69168.c
blob: 4f49000450b00517f21305fb4767f6e099982e90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* { dg-do compile } */

long a, b, e;
short *c;
int *d;
void fn1()
{
  int i;
  for (; e; e--)
    {
      i = 2;
      for (; i; i--)
	a = b = *d++ / (1 << 9);
      b = b ? 8 : a;
      *c++ = *c++ = b;
    }
}