PR rtl-optimization/84566
* sched-deps.c (sched_analyze_insn): Check deps->readonly when invoking
sched_macro_fuse_insns.
From-SVN: r259322
+2018-04-11 Alexander Monakov <amonakov@ispras.ru>
+
+ PR rtl-optimization/84566
+ * sched-deps.c (sched_analyze_insn): Check deps->readonly when invoking
+ sched_macro_fuse_insns.
+
2018-04-11 Alexander Monakov <amonakov@ispras.ru>
PR target/84301
&& code == SET);
/* Group compare and branch insns for macro-fusion. */
- if (targetm.sched.macro_fusion_p
+ if (!deps->readonly
+ && targetm.sched.macro_fusion_p
&& targetm.sched.macro_fusion_p ())
sched_macro_fuse_insns (insn);