diff options
author | Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | 2001-02-06 12:55:06 +0000 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 2001-02-06 07:55:06 -0500 |
commit | 05bd3d4156671cc44d299e8945112586d769f2c6 (patch) | |
tree | f39dbd279c274ba84ca84f7fc4136e3159c65db4 /gcc/cse.c | |
parent | d14057222fec681710cd1b1ac1d47478c0466bfb (diff) | |
download | gcc-05bd3d4156671cc44d299e8945112586d769f2c6.zip gcc-05bd3d4156671cc44d299e8945112586d769f2c6.tar.gz gcc-05bd3d4156671cc44d299e8945112586d769f2c6.tar.bz2 |
* cse.c (find_best_addr): Fix typo in computing cost.
From-SVN: r39490
Diffstat (limited to 'gcc/cse.c')
-rw-r--r-- | gcc/cse.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |