aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/torture/pr52638.C
blob: 3ac76ccc435888608a1d1cf85cc578e4582a84a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// { dg-do compile }
// { dg-options "-ftree-vectorize" }

void
bar (bool * b, bool * e, bool t)
{
  while (b < e)
    *b++ = t;
}

void
foo (bool * b, bool * e, bool t)
{
  bar (b, e, true);
}