]> gcc.gnu.org Git - gcc.git/commitdiff
haifa-sched.c (actual_hazard): Move declaration of variable `this_cost' into the...
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Tue, 14 Sep 1999 18:44:10 +0000 (18:44 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Tue, 14 Sep 1999 18:44:10 +0000 (18:44 +0000)
       * haifa-sched.c (actual_hazard): Move declaration of variable
       `this_cost' into the scope where it is used.

From-SVN: r29411

gcc/ChangeLog
gcc/haifa-sched.c

index 1c46c17af099e3052ef6e66aae63c6398d83dce1..336aaa80e979e5b36ea367ea48164f6a1ba597ae 100644 (file)
@@ -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
index 079e290c3339c18d3f157e7476a5e2c09d0ed77b..52ce9be26beda2e11ccecb44b21f233548a0c789 100644 (file)
@@ -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--)
This page took 0.098808 seconds and 5 git commands to generate.