Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / pr64935-2.c
blob5d7a6b8c6c5461b8308335f700c14100ae1f66ab
1 /* PR rtl-optimization/64935 */
2 /* { dg-do compile } */
3 /* { dg-options "-O -fschedule-insns --param=max-sched-ready-insns=1 -fcompare-debug" } */
4 /* { dg-require-effective-target scheduling } */
6 void
7 foo (int *data, unsigned len, const int qlp_coeff[],
8 unsigned order, int lp, int residual[], int i)
10 int sum;
11 sum = 0;
12 sum += qlp_coeff[1] * data[i - 2];
13 sum += qlp_coeff[0] * data[i - 1];
14 residual[i] = data[i] - (sum >> lp);