aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/pr56028.c
blob: 18ae25398b8d2b85b3e005f0ea3b9a3ba6f9fdd6 (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
/* { dg-do compile  { target { ! { ia32 } } } } */
/* { dg-options "-O2" } */

volatile int a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p;

volatile long long y;

void
test ()
{
  int a_ = a;
  int b_ = b;
  int c_ = c;
  int d_ = d;
  int e_ = e;
  int f_ = f;
  int g_ = g;
  int h_ = h;
  int i_ = i;
  int j_ = j;
  int k_ = k;
  int l_ = l;
  int m_ = m;
  int n_ = n;
  int o_ = o;
  int p_ = p;

  int z;

  for (z = 0; z < 1000; z++)
    {
      y = 0x100000002ll;
      y = 0x300000004ll;
    }

  a = a_;
  b = b_;
  c = c_;
  d = d_;
  e = e_;
  f = f_;
  g = g_;
  h = h_;
  i = i_;
  j = j_;
  k = k_;
  l = l_;
  m = m_;
  n = n_;
  o = o_;
  p = p_;
}

/* { dg-final { scan-assembler-times "movabs" 2 } } */