]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/pr64935-2.c
Update copyright years.
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / pr64935-2.c
CommitLineData
696d5fa1
MK
1/* PR rtl-optimization/64935 */
2/* { dg-do compile } */
90647597 3/* { dg-options "-O -fschedule-insns --param=max-sched-ready-insns=1 -fcompare-debug" } */
55466f20 4/* { dg-require-effective-target scheduling } */
696d5fa1
MK
5
6void
7foo (int *data, unsigned len, const int qlp_coeff[],
8 unsigned order, int lp, int residual[], int i)
9{
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);
15}