aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vect/pr92429.c
blob: 7885cd6e4c2639f553a68edcbd70203d1b7b13bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* PR92429 */
/* { dg-do compile } */
/* { dg-additional-options "-O1 -fno-tree-fre" } */
/* { dg-additional-options "-mavx2" { target { x86_64-*-* i?86-*-* } } } */

void
as (int *gl, int k1)
{
  while (k1 < 1)
    {
      gl[k1] = gl[k1] * gl[k1] / 2;
      ++k1;
    }
}