* combine.c (try_combine): Don't allow a call as one of the source
insns.
From-SVN: r217197
2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
+ * combine.c (try_combine): Don't allow a call as one of the source
+ insns.
+
* target.def (decl_end): New hook.
* varasm.c (assemble_variable_contents, assemble_constant_contents):
Use it.
/* Exit early if one of the insns involved can't be used for
combinations. */
- if (cant_combine_insn_p (i3)
+ if (CALL_P (i2)
+ || (i1 && CALL_P (i1))
+ || (i0 && CALL_P (i0))
+ || cant_combine_insn_p (i3)
|| cant_combine_insn_p (i2)
|| (i1 && cant_combine_insn_p (i1))
|| (i0 && cant_combine_insn_p (i0))