aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr110266.c
blob: 0b2acb5a7919731bfdd218b508987a844833974b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* { dg-do compile } */
/* { dg-options "-O2" } */

#include <math.h>

int Hann_i, PsyBufferUpdate_psyInfo_0, PsyBufferUpdate_i;
double *mdct_data;
double PsyBufferUpdate_sfreq;
void PsyBufferUpdate() {
  if (PsyBufferUpdate_psyInfo_0 == 4)
    for (; Hann_i;)
      ;
  {
    double xr_0 = cos(PsyBufferUpdate_psyInfo_0);
    PsyBufferUpdate_sfreq = sin(PsyBufferUpdate_psyInfo_0);
    for (; PsyBufferUpdate_psyInfo_0; PsyBufferUpdate_i++)
      mdct_data[PsyBufferUpdate_i] = xr_0 * PsyBufferUpdate_sfreq;
  }
}