aboutsummaryrefslogtreecommitdiff
path: root/gcc/passes.c
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2006-02-15 09:15:56 +0000
committerPaolo Bonzini <bonzini@gcc.gnu.org>2006-02-15 09:15:56 +0000
commit5b4fdb2060e0d1820ebabfcf7ed7e350ee52ef17 (patch)
tree1615cb62d40221497e159fa5d08ee5fb0cbdb56f /gcc/passes.c
parentbc4632d404ad7c46f125efbca56f9753a6704b11 (diff)
downloadgcc-5b4fdb2060e0d1820ebabfcf7ed7e350ee52ef17.zip
gcc-5b4fdb2060e0d1820ebabfcf7ed7e350ee52ef17.tar.gz
gcc-5b4fdb2060e0d1820ebabfcf7ed7e350ee52ef17.tar.bz2
cfg.c (dump_flow_info): Get dump flags as an additional parameter.
2006-02-15 Paolo Bonzini <bonzini@gnu.org> * cfg.c (dump_flow_info): Get dump flags as an additional parameter. (debug_flow_info): Pass it. * alias.c (rest_of_handle_cfg): Adjust calls to dump_flow_info. * bb-reorder.c (reorder_basic_blocks): Likewise. * cfgcleanup.c (rest_of_handle_jump2): Likewise. * cse.c (rest_of_handle_cse, rest_of_handle_cse2): Likewise. * flow.c (life_analysis, recompute_reg_usage): Likewise. * gcse.c (gcse_main, bypass_jumps): Likewise. * ifcvt.c (rest_of_handle_if_conversion): Likewise. * local-alloc.c (rest_of_handle_local_alloc): Likewise. * loop-init.c (rtl_loop_init, rtl_loop_done): Likewise. * profile.c (compute_branch_probabilities, branch_prob): Likewise. * rtl.h (dump_flow_info): Adjust prototype. * tracer.c (rest_of_handle_tracer, tracer): Likewise. * var-tracking.c (variable_tracking_main): Likewise. * passes.c (execute_todo): Obey TDF_BLOCKS for RTL. * tree-dump.c (enable_rtl_dump_file): Enable the details and blocks options. From-SVN: r111020
Diffstat (limited to 'gcc/passes.c')
-rw-r--r--gcc/passes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/passes.c b/gcc/passes.c
index 2e7f0b5..2845ab7 100644
--- a/gcc/passes.c
+++ b/gcc/passes.c
@@ -756,7 +756,7 @@ execute_todo (unsigned int flags)
{
if (dump_flags & TDF_SLIM)
print_rtl_slim_with_bb (dump_file, get_insns (), dump_flags);
- else if (curr_properties & PROP_cfg)
+ else if ((curr_properties & PROP_cfg) && (dump_flags & TDF_BLOCKS))
print_rtl_with_bb (dump_file, get_insns ());
else
print_rtl (dump_file, get_insns ());