aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorBernardo Innocenti <bernie@develer.com>2004-06-08 23:46:32 +0200
committerBernardo Innocenti <bernie@gcc.gnu.org>2004-06-08 23:46:32 +0200
commitd7777192b6d769f3a7312a8eb7856e0db41002d9 (patch)
treed57a4567586953a7626537eaeef5c13f19424410 /gcc
parent2d4886684f9e9de8a150faca0ae061d1e9ffedad (diff)
downloadgcc-d7777192b6d769f3a7312a8eb7856e0db41002d9.zip
gcc-d7777192b6d769f3a7312a8eb7856e0db41002d9.tar.gz
gcc-d7777192b6d769f3a7312a8eb7856e0db41002d9.tar.bz2
modulo-sched.c: Compile only when INSN_SCHEDULING is defined.
* modulo-sched.c: Compile only when INSN_SCHEDULING is defined. From-SVN: r82791
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*/