(optimize_reg_copy_2): Correct reg_n_refs updates.
From-SVN: r2829
This commit is contained in:
parent
0918de5b44
commit
6102fe9527
|
@ -860,8 +860,8 @@ optimize_reg_copy_2 (insn, dest, src)
|
|||
/* We assume that a register is used exactly once per
|
||||
insn in the updates below. If this is not correct,
|
||||
no great harm is done. */
|
||||
reg_n_refs[sregno] -= loop_depth;
|
||||
reg_n_refs[dregno] += loop_depth;
|
||||
reg_n_refs[dregno] -= loop_depth;
|
||||
reg_n_refs[sregno] += loop_depth;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue