From d7777192b6d769f3a7312a8eb7856e0db41002d9 Mon Sep 17 00:00:00 2001 From: Bernardo Innocenti Date: Tue, 8 Jun 2004 23:46:32 +0200 Subject: [PATCH] modulo-sched.c: Compile only when INSN_SCHEDULING is defined. * modulo-sched.c: Compile only when INSN_SCHEDULING is defined. From-SVN: r82791 --- gcc/ChangeLog | 5 +++++ gcc/modulo-sched.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 262f9499e1b..b1798bc2c0d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-06-08 Bernardo Innocenti + + * modulo-sched.c: Compile only when INSN_SCHEDULING is + defined. + 2004-06-08 Jeff Law * doc/contrib.texi: Add entries for Stefan Olsson and diff --git a/gcc/modulo-sched.c b/gcc/modulo-sched.c index a9822e26d90..1c7978adda7 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*/ -- 2.30.2