summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/vect-bool-1.c
blob: ca1456b4d8e9bfcfb97a8ae28bcb3c0afeaa83b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-do compile } */

int a[64];
long b[64];

void foo (void)
{
  for (int i = 0; i < 64; ++i)
    {
      _Bool x = a[i] < 10;
      a[i] = x;
      b[i] = x;
    }
}