diff options
author | bonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-25 17:39:37 +0000 |
---|---|---|
committer | bonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-25 17:39:37 +0000 |
commit | 75ab26dccf84bd770d1eaf542a7273eb95252a7d (patch) | |
tree | 0224d6afcc2c0d457d50b20bc90f70a16273ba21 /gcc/tree-dump.c | |
parent | 22d28dbc9fac0a3bbe8795d8589252f237dc5948 (diff) | |
download | gcc-75ab26dccf84bd770d1eaf542a7273eb95252a7d.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110217 138bc75d-0d04-0410-961f-82ee72b054a4
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 ea36129cdb6..dfcf456237a 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++; } |