summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vect/pr34591.c
blob: 1f02544c844501814faf3b7a52d7b1de79487de1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile } */

int av_resample(int filter_length, short *src, short *filter)
{
    int i;
    int val=0;
    for(i=0; i<filter_length; i++)
      val += src[ i ] * filter[i];
    return val;
}

/* { dg-final { cleanup-tree-dump "vect" } } */