From 1eda7a81d32968f3112b6e7b1fc67ffbf7c8c35a Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Tue, 14 Sep 1999 18:44:10 +0000 Subject: 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 --- gcc/haifa-sched.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/haifa-sched.c') diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c index 079e290..52ce9be 100644 --- a/gcc/haifa-sched.c +++ b/gcc/haifa-sched.c @@ -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--) -- cgit v1.1