aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/modulo-sched.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 262f949..b1798bc 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/modulo-sched.c b/gcc/modulo-sched.c
index a9822e2..1c7978a 100644
--- a/gcc/modulo-sched.c
+++ b/gcc/modulo-sched.c
@@ -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*/