summaryrefslogtreecommitdiff
path: root/gcc/sched-ebb.c
diff options
context:
space:
mode:
authormkuvyrkov <mkuvyrkov@138bc75d-0d04-0410-961f-82ee72b054a4>2007-10-17 19:50:55 +0000
committermkuvyrkov <mkuvyrkov@138bc75d-0d04-0410-961f-82ee72b054a4>2007-10-17 19:50:55 +0000
commitdb982eeb20178badf7f509b3523914bf4312b8a9 (patch)
treed4e5bbc949a517476a05b7d58c6980bc7235b670 /gcc/sched-ebb.c
parent3041cd4a4724dcf3090f21a278dc8989b19b45db (diff)
downloadgcc-db982eeb20178badf7f509b3523914bf4312b8a9.tar.gz
* sched-ebb.c: Surround code with '#ifdef INSN_SCHEDULING'.
* ddg.c: Ditto. * sched-deps.c: Ditto. Remove nested #ifdef's INSN_SCHEDULING. * sched-int.h: Surround declarations with '#ifdef INSN_SCHEDULING'. (print_insn): Move declaration to ... * rtl.h (print_insn): ... here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129417 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sched-ebb.c')
-rw-r--r--gcc/sched-ebb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/sched-ebb.c b/gcc/sched-ebb.c
index 4e7596cf62e..7e22874601c 100644
--- a/gcc/sched-ebb.c
+++ b/gcc/sched-ebb.c
@@ -44,6 +44,8 @@ along with GCC; see the file COPYING3. If not see
#include "output.h"
+#ifdef INSN_SCHEDULING
+
/* The number of insns scheduled so far. */
static int sched_n_insns;
@@ -696,3 +698,5 @@ fix_recovery_cfg (int bbi ATTRIBUTE_UNUSED, int jump_bbi, int jump_bb_nexti)
if (jump_bb_nexti == last_bb->index)
last_bb = BASIC_BLOCK (jump_bbi);
}
+
+#endif /* INSN_SCHEDULING */