Tighten condition in vect/pr85586.c (PR 85654)
[official-gcc.git] / gcc / testsuite / gcc.dg / pr70252.c
blob209e691eceeb7a73a3cc169d2b01a44c50fb1b59
1 /* { dg-do compile } */
2 /* { dg-options "-O3" } */
3 /* { dg-additional-options "-march=skylake-avx512" { target { i?86-*-* x86_64-*-* } } } */
5 extern unsigned char a [150];
6 extern unsigned char b [150];
7 extern unsigned char c [150];
8 extern unsigned char d [150];
9 extern unsigned char e [150];
11 void foo () {
12 for (int i = 92; i <= 141; i += 2) {
13 int tmp = (d [i] && b [i]) <= (a [i] > c [i]);
14 e [i] = tmp >> b [i];