1 /* { dg-do compile } */ 2 /* { dg-options "-O -ftree-vectorize -fno-tree-copy-prop -fno-tree-dce" } */ 3 4 extern int A[], B[]; 5 6 void foo(int z)7foo (int z) 8 { 9 int j, i; 10 for (j = 0; j < 32; j++) 11 { 12 int curr_a = A[0]; 13 for (i = 0; i < 16; i++) 14 curr_a = A[i] ? curr_a : z; 15 B[j] = curr_a; 16 } 17 } 18 19