Commit 1eda7a81 by Kaveh R. Ghazi Committed by Kaveh Ghazi

haifa-sched.c (actual_hazard): Move declaration of variable `this_cost' into the…

haifa-sched.c (actual_hazard): Move declaration of variable `this_cost' into the scope where it is used.

       * haifa-sched.c (actual_hazard): Move declaration of variable
       `this_cost' into the scope where it is used.

From-SVN: r29411
parent 341a243e
Tue Sep 14 14:41:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* haifa-sched.c (actual_hazard): Move declaration of variable
`this_cost' into the scope where it is used.
Tue Sep 14 14:14:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> Tue Sep 14 14:14:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* c-pragma.c (handle_pragma_token): Wrap variables `name' and * c-pragma.c (handle_pragma_token): Wrap variables `name' and
......
...@@ -2950,9 +2950,9 @@ actual_hazard (unit, insn, clock, cost) ...@@ -2950,9 +2950,9 @@ actual_hazard (unit, insn, clock, cost)
int instance = unit; int instance = unit;
int best_cost = actual_hazard_this_instance (unit, instance, insn, int best_cost = actual_hazard_this_instance (unit, instance, insn,
clock, cost); clock, cost);
#if MAX_MULTIPLICITY > 1
int this_cost; int this_cost;
#if MAX_MULTIPLICITY > 1
if (best_cost > cost) if (best_cost > cost)
{ {
for (i = function_units[unit].multiplicity - 1; i > 0; i--) for (i = function_units[unit].multiplicity - 1; i > 0; i--)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment