Merged revisions 208012,208018-208019,208021,208023-208030,208033,208037,208040-20804...
[official-gcc.git] / main / gcc / testsuite / gcc.dg / vect / vect-bool-1.c
blobfd12f5c77a3a4e660fa0460cc8784f71be59c893
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_int } */
4 _Bool a[1024];
5 _Bool b[1024];
6 _Bool c[1024];
7 void foo (void)
9 unsigned i;
10 for (i = 0; i < 1024; ++i)
11 a[i] = b[i] | c[i];
14 /* { dg-final { scan-tree-dump "vectorized 1 loops" "vect" } } */
15 /* { dg-final { cleanup-tree-dump "vect" } } */