(single_set): fix typo in REG_UNUSED check.
From-SVN: r2449
This commit is contained in:
parent
0bd2462c23
commit
fb3ef382a4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user