PR rtl-optimization/69752
* ira.c (update_equiv_regs): When looking for more than a single SET,
also take other side effects into account.
From-SVN: r233491
+2016-02-16 Bernd Schmidt <bernds@codesourcery.com>
+
+ Backport from mainline
+ 2016-02-15 Bernd Schmidt <bschmidt@redhat.com>
+
+ PR rtl-optimization/69752
+ * ira.c (update_equiv_regs): When looking for more than a single SET,
+ also take other side effects into account.
+
2016-02-16 Tom de Vries <tom@codesourcery.com>
backport from trunk:
/* If this insn contains more (or less) than a single SET,
only mark all destinations as having no known equivalence. */
- if (set == 0)
+ if (set == 0
+ || side_effects_p (SET_SRC (set)))
{
note_stores (PATTERN (insn), no_equiv, NULL);
continue;