(single_set): fix typo in REG_UNUSED check.

From-SVN: r2449
This commit is contained in:
Richard Stallman 1992-10-14 04:02:16 +00:00
parent 0bd2462c23
commit fb3ef382a4

View File

@ -528,9 +528,9 @@ single_set (insn)
{
for (i = 0, set = 0; i < XVECLEN (PATTERN (insn), 0); i++)
if (GET_CODE (XVECEXP (PATTERN (insn), 0, i)) == SET
&& ! (find_reg_note (insn, REG_UNUSED,
SET_DEST (XVECEXP (PATTERN (insn), 0, i)))
|| side_effects_p (XVECEXP (PATTERN (insn), 0, i))))
&& (! find_reg_note (insn, REG_UNUSED,
SET_DEST (XVECEXP (PATTERN (insn), 0, i)))
|| side_effects_p (XVECEXP (PATTERN (insn), 0, i))))
{
if (set)
return 0;