1 /* { dg-do compile } */ 2 /* { dg-options "-O3 -fno-tree-vectorize" } */ 3 4 int in[8][4]; 5 int out[4]; 6 7 void foo(void)8foo (void) 9 { 10 int sum = 1; 11 int i, j, k; 12 for (k = 0; k < 4; k++) 13 { 14 for (j = 0; j < 4; j++) 15 for (i = 0; i < 4; i++) 16 sum *= in[i + k][j]; 17 out[k] = sum; 18 } 19 } 20