summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr25483.c
blob: 99151fda0b32aac8fe0e3716641b78c0c62a7734 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-options "-fmove-loop-invariants" } */

static int mdct_win[8];
int x;

int
decode_init (double d)
{
  int j;
  for (j = 4; j; j--)
    {
      d *= 0.5;
      mdct_win[j] = (d * 3);
    }
}