new file mode 100644
@@ -0,0 +1,16 @@
+// { dg-do compile }
+// { dg-additional-options "-O3" }
+// { dg-additional-options "-march=skylake-avx512" { target x86_64-*-* i?86-*-* } }
+
+int a;
+extern bool b[][14];
+char h;
+void f(short g[][14])
+{
+ for (short d = h; d < 21; d += 1)
+ for (unsigned char e = 0; e < 14; e += 1)
+ {
+ a = 0;
+ b[d][e] = g[d][e];
+ }
+}
@@ -1761,6 +1761,7 @@ vect_build_slp_tree_2 (vec_info *vinfo, slp_tree node,
bit_field_size (bfref), &lane))
{
lperm.release ();
+ matches[0] = false;
return NULL;
}
lperm.safe_push (std::make_pair (0, (unsigned)lane));