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