* cse.c (cse_insn): If an insn has only a single set, SRC_EQV
is nonzero and the single set does not have an elt, then assign
it an elt.
From-SVN: r30304
Sun Oct 31 01:53:30 1999 Jeffrey A Law (law@cygnus.com)
+ * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
+ is nonzero and the single set does not have an elt, then assign
+ it an elt.
+
* simplify-rtx.c: New file.
* Makefile.in (OBJS): Add simplify-rtx.o
(simplify-rtx.o): Add dependencies.
does not yet have an elt, and if so set the elt of the set source
to src_eqv_elt. */
for (i = 0; i < n_sets; i++)
- if (sets[i].rtl && sets[i].src_elt == 0
- && rtx_equal_p (SET_SRC (sets[i].rtl), src_eqv))
+ if (n_sets == 1
+ || (sets[i].rtl && sets[i].src_elt == 0
+ && rtx_equal_p (SET_SRC (sets[i].rtl), src_eqv)))
sets[i].src_elt = src_eqv_elt;
}