summaryrefslogtreecommitdiff
path: root/gcc/sel-sched-dump.c
diff options
context:
space:
mode:
authorabel <abel@138bc75d-0d04-0410-961f-82ee72b054a4>2008-09-01 12:38:44 +0000
committerabel <abel@138bc75d-0d04-0410-961f-82ee72b054a4>2008-09-01 12:38:44 +0000
commitda61904d17e61b768115ebbf60f15dd81270062b (patch)
treebe58c8489a390c8199d7f87375f987098ce06179 /gcc/sel-sched-dump.c
parent9b2ae3dd549022349e5f0578c4f61fa42c068ad7 (diff)
downloadgcc-da61904d17e61b768115ebbf60f15dd81270062b.tar.gz
* sel-sched-dump.c: Surround with #ifdef INSN_SCHEDULING.
* sched-int.h (print_insn, print_pattern, print_value): Declare also when !INSN_SCHEDULING. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139862 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sel-sched-dump.c')
-rw-r--r--gcc/sel-sched-dump.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/sel-sched-dump.c b/gcc/sel-sched-dump.c
index 7d56d3ba078..5fce7cf6b9e 100644
--- a/gcc/sel-sched-dump.c
+++ b/gcc/sel-sched-dump.c
@@ -34,6 +34,8 @@ along with GCC; see the file COPYING3. If not see
#include "output.h"
#include "basic-block.h"
#include "cselib.h"
+
+#ifdef INSN_SCHEDULING
#include "sel-sched-ir.h"
#include "sel-sched-dump.h"
@@ -941,5 +943,5 @@ debug_mem_addr_value (rtx x)
debug_rtx (addr);
return t;
}
-
+#endif