1 /* { dg-options "-fmove-loop-invariants" } */
2 
3 static int mdct_win[8];
4 int x;
5 
6 int
decode_init(double d)7 decode_init (double d)
8 {
9   int j;
10   for (j = 4; j; j--)
11     {
12       d *= 0.5;
13       mdct_win[j] = (d * 3);
14     }
15 }
16