summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vect/pr68305.c
blob: fde3db723cc7a8d594e6847fa396a0bc6f8900b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile } */
/* { dg-additional-options "-O3" } */
/* { dg-additional-options "-mavx2" { target avx_runtime } } */

int a, b;

void
fn1 ()
{
  int c, d;
  for (; b; b++)
    a = a ^ !c ^ !d;
}