aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/pr58759.c
blob: 8257dde533da546ef31067915aaccd03df00a2e7 (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
/* { dg-do run } */
/* { dg-options "-O2" } */


int a, b, c, d, e, f, h, l, m, n, k, o;
long long g;

struct S
{
  int f1;
  int f2;
  int f3;
  int f4;
};

static struct S i = {0,0,0,0}, j;

void
foo ()
{
  m = 1 & d;
  n = b + c;
  o = k >> 1;
  f = 0 == e;
}

int
main ()
{
  for (; h < 1; h++)
    {
      g = 1 | (0 > 1 - a ? 0 : a);
      foo ();
      for (l = 0; l < 3; l++)
      j = i;
    }
  return 0;
}