1 /* PR tree-optimization/78938 */ 2 /* { dg-do compile } */ 3 /* { dg-additional-options "-mavx512bw" { target i?86-*-* x86_64-*-* } } */ 4 5 short int v; 6 7 int foo(char x,int * b)8foo (char x, int *b) 9 { 10 int a = 1; 11 for (; x < 1; x++) 12 { 13 int c = *b != v; 14 int d = x != 0; 15 a = c == d ? 2 : 0; 16 } 17 return a; 18 } 19