2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / opt / pr79734.C
blobec9d4616c0d1fc8dcd7d6e30e59889a6a5a49061
1 // PR tree-optimization/79734
2 // { dg-do compile }
3 // { dg-options "-O2" }
4 // { dg-additional-options "-mavx512vl" { target i?86-*-* x86_64-*-* } }
6 typedef float V __attribute__ ((vector_size (4 * sizeof (float))));
8 void
9 foo (V *a, V *b)
11   *a = (*a < 1 && !(*b > 2)) ? *a + *b : 3;