blob: 4accf56b2007f0006be6f26119327d30ce428e43 [file] [log] [blame]
// { dg-do compile }
// { dg-additional-options "-mavx512bw -mavx512dq" { target { i?86-*-* x86_64-*-* } } }
#define N 1024
double a[N];
bool b[N];
char c[N];
void test ()
{
int i;
#pragma omp simd
for (i = 0; i < N; i++)
if ((c[i] > 0) && b[i])
a[i] = 0.0;
else
a[i] = 1.0;
}