1 /* PR tree-optimization/63189 */ 2 3 #include "tree-vect.h" 4 5 short int d[16] = { 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0 }; 6 7 __attribute__((noinline, noclone)) void foo(void)8foo (void) 9 { 10 int j, s = 0; 11 for (j = 0; j < 8; j++) 12 s += d[j] * j; 13 if (s != 7) 14 abort (); 15 } 16 17 int main()18main () 19 { 20 check_vect (); 21 foo (); 22 return 0; 23 } 24 25