* cse.c (find_best_addr): Fix typo in computing cost.

From-SVN: r39490
This commit is contained in:
Richard Kenner 2001-02-06 12:55:06 +00:00 committed by Richard Kenner
parent d14057222f
commit 05bd3d4156
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Tue Feb 6 07:54:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* cse.c (find_best_addr): Fix typo in computing cost.
Mon Feb 5 21:56:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* combine.c (nonzero_bits, case PLUS): If pointers extend unsigned

View File

@ -2975,7 +2975,7 @@ find_best_addr (insn, loc, mode)
|| exp_equiv_p (p->exp, p->exp, 1, 0))
&& ((exp_cost = address_cost (p->exp, mode)) < best_addr_cost
|| (exp_cost == best_addr_cost
&& (p->cost + 1) >> 1 < best_rtx_cost)))
&& ((p->cost + 1) >> 1) > best_rtx_cost)))
{
found_better = 1;
best_addr_cost = exp_cost;