modulo-sched.c: Compile only when INSN_SCHEDULING is defined.
authorBernardo Innocenti <bernie@develer.com>
Tue, 8 Jun 2004 21:46:32 +0000 (23:46 +0200)
committerBernardo Innocenti <bernie@gcc.gnu.org>
Tue, 8 Jun 2004 21:46:32 +0000 (23:46 +0200)
* modulo-sched.c: Compile only when INSN_SCHEDULING is
defined.

From-SVN: r82791

gcc/ChangeLog
gcc/modulo-sched.c

index 262f9499e1b74ac5bbe538d603082e314a540365..b1798bc2c0dba81e37f87314f1cac62d0b592e4b 100644 (file)
@@ -1,3 +1,8 @@
+2004-06-08  Bernardo Innocenti  <bernie@develer.com>
+
+       * modulo-sched.c: Compile only when INSN_SCHEDULING is
+       defined.
+
 2004-06-08  Jeff Law  <law@redhat.com>
 
         * doc/contrib.texi: Add entries for Stefan Olsson and
index a9822e26d9056d0cbcd238d67408c9d47997e3d3..1c7978adda7adc8d6d1545c8d7144806cd7714bb 100644 (file)
@@ -49,6 +49,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 #include "df.h"
 #include "ddg.h"
 
+#ifdef INSN_SCHEDULING
 
 /* This file contains the implementation of the Swing Modulo Scheduler,
    described in the following references:
@@ -2123,3 +2124,5 @@ rotate_partial_schedule (partial_schedule_ptr ps, int start_cycle)
   ps->max_cycle -= start_cycle;
   ps->min_cycle -= start_cycle;
 }
+
+#endif /* INSN_SCHEDULING*/