aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr102827.c
blob: eed3eba32d1e30ccfa9f9cf0eff4a930df95f3e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile } */
/* { dg-options "-O -ftree-vectorize --param ssa-name-def-chain-limit=0" } */
/* { dg-additional-options "-mavx" { target { x86_64-*-* i?86-*-* } } } */

void
test_double_double_nugt_var (double *dest, double *src, int b, int i)
{
  while (i < 1)
    {
      dest[i] = b ? src[i] : 0.0;
      ++i;
    }
}