summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr24626-4.c
blob: a668016614c7c26f4d08acd8d374684785cc56e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile } */
/* { dg-options "-fmodulo-sched" } */

int foo(short* vec1, short* vec2, short* vec3,int len )
{
        int temp,i;
        for (i=0; i<len; i++) {
                 temp = vec1[i] * 2;
                 temp += vec2[i] * 3 ;
                 vec3[i] = temp;
        }
}