diff options
author | Paolo Bonzini <bonzini@gnu.org> | 2006-01-25 17:39:37 +0000 |
---|---|---|
committer | Paolo Bonzini <bonzini@gcc.gnu.org> | 2006-01-25 17:39:37 +0000 |
commit | a68e7e6c6648e57706db51b202f3e72406517b9f (patch) | |
tree | 0224d6afcc2c0d457d50b20bc90f70a16273ba21 /gcc/tree-dump.c | |
parent | 6d3874a7e42efbe54406950fea9c3de746971099 (diff) | |
download | gcc-a68e7e6c6648e57706db51b202f3e72406517b9f.zip gcc-a68e7e6c6648e57706db51b202f3e72406517b9f.tar.gz gcc-a68e7e6c6648e57706db51b202f3e72406517b9f.tar.bz2 |
Makefile.in (sched-vis.o): Update dependencies.
2006-01-25 Paolo Bonzini <bonzini@gnu.org>
* 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
Diffstat (limited to 'gcc/tree-dump.c')
-rw-r--r-- | gcc/tree-dump.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/tree-dump.c b/gcc/tree-dump.c index ea36129..dfcf456 100644 --- a/gcc/tree-dump.c +++ b/gcc/tree-dump.c @@ -926,24 +926,25 @@ dump_end (enum tree_dump_index phase ATTRIBUTE_UNUSED, FILE *stream) static int dump_enable_all (int flags, int letter) { + int ir_type = (flags & (TDF_TREE | TDF_RTL | TDF_IPA)); int n = 0; size_t i; for (i = TDI_none + 1; i < (size_t) TDI_end; i++) - if ((dump_files[i].flags & flags) + if ((dump_files[i].flags & ir_type) && (letter == 0 || letter == dump_files[i].letter)) { dump_files[i].state = -1; - dump_files[i].flags = flags; + dump_files[i].flags |= flags; n++; } for (i = 0; i < extra_dump_files_in_use; i++) - if ((extra_dump_files[i].flags & flags) + if ((extra_dump_files[i].flags & ir_type) && (letter == 0 || letter == extra_dump_files[i].letter)) { extra_dump_files[i].state = -1; - extra_dump_files[i].flags = flags; + extra_dump_files[i].flags |= flags; n++; } |