1 /* { dg-do compile } */ 2 /* { dg-options "-fmodulo-sched" } */ 3 foo(short * vec1,short * vec2,short * vec3,int len)4 int foo(short* vec1, short* vec2, short* vec3,int len ) 5 { 6 int temp,i; 7 for (i=0; i<len; i++) { 8 temp = vec1[i] * 2; 9 temp += vec2[i] * 3 ; 10 vec3[i] = temp; 11 } 12 } 13