PR tree-optimization/89268
* tree-if-conv.c (version_loop_for_if_conversion): Push to preds only
if preds is non-NULL.
* gcc.dg/vect/pr89268.c: New test.
From-SVN: r268743
+2019-02-10 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/89268
+ * tree-if-conv.c (version_loop_for_if_conversion): Push to preds only
+ if preds is non-NULL.
+
2019-02-09 Jan Hubicka <hubicka@ucw.cz>
PR lto/89272
+2019-02-10 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/89268
+ * gcc.dg/vect/pr89268.c: New test.
+
2019-02-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* gnat.dg/lto19.adb: Remove dg-excess-errors.
--- /dev/null
+/* PR tree-optimization/89268 */
+/* { dg-do compile } */
+/* { dg-require-effective-target vect_condition } */
+/* { dg-additional-options "-fno-trapping-math --param vect-epilogues-nomask=1" } */
+/* { dg-additional-options "-mavx512ifma -mtune=intel" { target x86_64-*-* i?86-*-* } } */
+
+#include "pr79887.c"
new_loop->force_vectorize = false;
gsi = gsi_last_bb (cond_bb);
gimple_call_set_arg (g, 1, build_int_cst (integer_type_node, new_loop->num));
- preds->safe_push (g);
+ if (preds)
+ preds->safe_push (g);
gsi_insert_before (&gsi, g, GSI_SAME_STMT);
update_ssa (TODO_update_ssa);
return new_loop;