aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/pr60508.c
blob: 78dfb78152657757f0a1f467c489dee6d015580b (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
/* { dg-do compile } */
/* { dg-options "-O -w" } */
int a = 1, g, h = 1, d, e, *f;
char b;
static int c[] = { 0, 0 };
void fn2 (void);

void
fn1 (short x, int l)
{
lab:
  {
    int k, m[0];
    long j = h ? 0 : 0 / 0;
    unsigned char n = j;
    unsigned char i = x >= 0 ? n : n >> x;
    g = i;
    for (;;)
      {
        if (a)
          goto lab;
        while (d)
          {
            e = b = c[l];
            fn2 ();
          }
        int o = m[0];
        f = &k;
      }
  }
}