summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vect/unswitch-loops-pr26969.c
blob: b92a7fb7cb6c9ad3abec045f04067335b689b569 (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 } */

void
ruby_re_compile_fastmap (char *fastmap, int options)
{
  int j;
  for (j = 0; j < (1 << 8); j++)
    {
      if (j != '\n' || (options & 4))
	fastmap[j] = 1;
    }
}

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