summaryrefslogtreecommitdiff
path: root/gcc/sel-sched-dump.c
diff options
context:
space:
mode:
authorAndrey Belevantsev <abel@ispras.ru>2008-09-01 16:38:44 +0400
committerAndrey Belevantsev <abel@gcc.gnu.org>2008-09-01 16:38:44 +0400
commitdfb0e60d22af8a61eb38e2b7c351e9fa516fef00 (patch)
treebe58c8489a390c8199d7f87375f987098ce06179 /gcc/sel-sched-dump.c
parent8a88c2763a4845fda6fd11e3cc6bcdc53de97597 (diff)
downloadgcc-dfb0e60d22af8a61eb38e2b7c351e9fa516fef00.tar.gz
sel-sched-dump.c: Surround with #ifdef INSN_SCHEDULING.
* sel-sched-dump.c: Surround with #ifdef INSN_SCHEDULING. * sched-int.h (print_insn, print_pattern, print_value): Declare also when !INSN_SCHEDULING. From-SVN: r139862
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