diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-12-10 15:06:52 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-12-10 15:06:52 +0000 |
commit | 379eaa7a047b84edba6ab5e21bb6c6d642e8394d (patch) | |
tree | df5a6a69ffaa0951db1f12024f33e49aafeb2b4d /gcc/expmed.c | |
parent | 9247cc1cd56557eace12dd6aafb5152bf68463ea (diff) | |
download | gcc-379eaa7a047b84edba6ab5e21bb6c6d642e8394d.tar.gz |
* expmed.c (synth_mult): Initialize new_limit.latency before
making a recursive call.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91992 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expmed.c')
-rw-r--r-- | gcc/expmed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/expmed.c b/gcc/expmed.c index 10a95b3862a..231a33e5d9f 100644 --- a/gcc/expmed.c +++ b/gcc/expmed.c @@ -2660,7 +2660,7 @@ synth_mult (struct algorithm *alg_out, unsigned HOST_WIDE_INT t, op_latency = add_cost[mode]; new_limit.cost = best_cost.cost - op_cost; - new_limit.cost = best_cost.cost - op_latency; + new_limit.latency = best_cost.latency - op_latency; synth_mult (alg_in, t / d, &new_limit, mode); alg_in->cost.cost += op_cost; |