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
This commit is contained in:
parent
341a243eaf
commit
1eda7a81d3
@ -1,3 +1,8 @@
|
||||
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>
|
||||
|
||||
* c-pragma.c (handle_pragma_token): Wrap variables `name' and
|
||||
|
@ -2950,9 +2950,9 @@ actual_hazard (unit, insn, clock, cost)
|
||||
int instance = unit;
|
||||
int best_cost = actual_hazard_this_instance (unit, instance, insn,
|
||||
clock, cost);
|
||||
#if MAX_MULTIPLICITY > 1
|
||||
int this_cost;
|
||||
|
||||
#if MAX_MULTIPLICITY > 1
|
||||
if (best_cost > cost)
|
||||
{
|
||||
for (i = function_units[unit].multiplicity - 1; i > 0; i--)
|
||||
|
Loading…
Reference in New Issue
Block a user