From a68e7e6c6648e57706db51b202f3e72406517b9f Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Wed, 25 Jan 2006 17:39:37 +0000 Subject: Makefile.in (sched-vis.o): Update dependencies. 2006-01-25 Paolo Bonzini * Makefile.in (sched-vis.o): Update dependencies. * haifa-sched.c (sched_finish): Clear current_sched_info. * cfg.c (dump_bb_info): New, split from dump_flow_info. (dump_flow_info): Call it. * passes.c (execute_todo): Call print_rtl_slim_with_bb to make a slim RTL dump. * basic-block.h (dump_bb_info): Declare. * tree-dump.c (dump_enable_all): OR the flags of a -fdump-tree-all option, and apply options only for dump files whose TDF_RTL, TDF_TREE, or TDF_IPA bits match. * rtl.h: Declare new functions exported from sched-vis.c. * sched-vis.c: Enable also if scheduling is not used. (print_value): Print the mode of registers if not inside scheduling. (print_insn): Make it work outside the scheduler. Beautify the output a bit. (dump_insn_slim, debug_insn_slim, print_rtl_slim_with_bb): New. From-SVN: r110217 --- gcc/haifa-sched.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc/haifa-sched.c') diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c index 5713e9a..ab362cb 100644 --- a/gcc/haifa-sched.c +++ b/gcc/haifa-sched.c @@ -2362,5 +2362,7 @@ sched_finish (void) if (targetm.sched.md_finish_global) targetm.sched.md_finish_global (sched_dump, sched_verbose); + + current_sched_info = NULL; } #endif /* INSN_SCHEDULING */ -- cgit v1.1