aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/vect/pr51000.c
blob: 75af2d8a2983ac7171d269810f16d7dc55ad735b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* { dg-do compile } */

_Bool a[2048];
int b[2048];

void
foo ()
{
  int i;
  for (i = 0; i < 2048; i += 4)
    {
      a[i] = b[i] <= 10;
      a[i + 3] = b[i + 1] <= 10;
      a[i + 2] = b[i + 2] <= 10;
      a[i + 1] = b[i + 3] <= 10;
    }
}

/* { dg-final { cleanup-tree-dump "vect" } } */