1 /* { dg-do compile } */ 2 /* { dg-require-effective-target vect_int } */ 3 4 _Bool a[1024]; 5 _Bool b[1024]; 6 _Bool c[1024]; foo(void)7void foo (void) 8 { 9 unsigned i; 10 for (i = 0; i < 1024; ++i) 11 a[i] = b[i] | c[i]; 12 } 13 14 /* { dg-final { scan-tree-dump "vectorized 1 loops" "vect" } } */ 15