+2019-04-01 Andrey Belevantsev <abel@ispras.ru>
+
+ PR rtl-optimization/86928
+ * sel-sched-ir.c (sel_redirect_edge_and_branch_force): Invoke
+ compute_live if necessary.
+ (sel_redirect_edge_and_branch): Likewise.
+
2019-04-01 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/89865
recompute_dominator (CDI_DOMINATORS, to));
set_immediate_dominator (CDI_DOMINATORS, orig_dest,
recompute_dominator (CDI_DOMINATORS, orig_dest));
+ if (jump && sel_bb_head_p (jump))
+ compute_live (jump);
}
/* A wrapper for redirect_edge_and_branch. Return TRUE if blocks connected by
set_immediate_dominator (CDI_DOMINATORS, orig_dest,
recompute_dominator (CDI_DOMINATORS, orig_dest));
}
+ if (jump && sel_bb_head_p (jump))
+ compute_live (jump);
return recompute_toporder_p;
}
+2019-04-01 Andrey Belevantsev <abel@ispras.ru>
+
+ PR rtl-optimization/86928
+ * gcc.dg/pr86928.c: New test.
+
2019-04-01 Andrey Belevantsev <abel@ispras.ru>
PR rtl-optimization/87273
--- /dev/null
+/* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
+/* { dg-options "-O2 -fnon-call-exceptions -fsel-sched-pipelining -fsel-sched-pipelining-outer-loops -fselective-scheduling -fno-if-conversion -fno-tree-dce -w" } */
+/* { dg-additional-options "-m32" { target powerpc*-*-* } } */
+
+int kn;
+
+void
+gd (short int sk)
+{
+ char *as;
+
+ while (sk < 1)
+ {
+ char *ci;
+
+ if (*ci == 0)
+ *as += ci;
+
+ for (kn = 0; kn < 18; ++kn)
+ {
+ }
+
+ ++sk;
+ }
+}