OSDN Git Service

* tree-ssa-loop-ivopts.c (get_computation_cost_at): Return again the
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 Jun 2010 21:53:59 +0000 (21:53 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 Jun 2010 21:53:59 +0000 (21:53 +0000)
computed cost.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160636 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/tree-ssa-loop-ivopts.c

index 9cd65f7..b8ec704 100644 (file)
@@ -1,3 +1,9 @@
+2010-06-11  Sandra Loosemore  <sandra@codesourcery.com>
+            Eric Botcazou  <ebotcazou@adacore.com>
+
+       * tree-ssa-loop-ivopts.c (get_computation_cost_at): Return again the
+       computed cost.
+
 2010-06-11  Uros Bizjak  <ubizjak@gmail.com>
 
        * config/i386/i386.md (unspec): New define_c_enum.
index 53ad252..32b8935 100644 (file)
@@ -3875,6 +3875,7 @@ get_computation_cost_at (struct ivopts_data *data,
   aratio = ratio > 0 ? ratio : -ratio;
   if (aratio != 1)
     cost.cost += multiply_by_cost (aratio, TYPE_MODE (ctype), speed);
+  return cost;
 
 fallback:
   if (can_autoinc)