From defb77dcaa265e418d04840b4d0dc69288690b26 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Wed, 10 Aug 2005 09:02:48 +0000 Subject: bb-reorder.c (pass_duplicate_computed_gotos, [...]): Add dump. 2005-08-09 Paolo Bonzini * bb-reorder.c (pass_duplicate_computed_gotos, pass_partition_blocks): Add dump. * cfglayout.c (pass_insn_locators_initialize): Add dump. * emit-rtl.c (pass_unshare_all_rtl, pass_remove_unnecessary_notes): Add dump. * except.c (pass_convert_to_eh_region_ranges): Add dump. * final.c (pass_shorten_branches): Add dump. * flow.c (pass_recompute_reg_usage, pass_remove_death_notes): Add dump. (pass_life): Rename dump. (rest_of_handle_flow2): Remove initial verify_flow_info. * function.c (pass_instantiate_virtual_regs): Add dump. * integrate.c (pass_initial_value_sets): Add dump. * jump.c (pass_cleanup_barriers, pass_purge_lineno_notes): Add dump. * loop-init.c (pass_rtl_loop_init, pass_rtl_loop_done): Rename dump. (pass_rtl_move_loop_invariants, pass_rtl_unswitch, pass_rtl_doloop, pass_rtl_unroll_and_peel_loops): Rename dump and add gate. (gate_rtl_move_loop_invariants, gate_rtl_unswitch, gate_rtl_doloop, gate_rtl_unrool_and_peel_loops): New. (rtl_move_loop_invariants, rtl_unswitch, rtl_unrool_and_peel_loops, rtl_doloop): Do not look at flags. * mode-switching.c (pass_mode_switching): Add dump. * recog.c (pass_split_all_insns, pass_split_for_shorten_branches, pass_split_before_regstack): Add dump. * regmove.c (pass_stack_adjustments): Add dump. * tree-optimize.c (pass_fixup_cfg): Add dump. From-SVN: r102945 --- gcc/flow.c | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'gcc/flow.c') diff --git a/gcc/flow.c b/gcc/flow.c index 2ebcdda..79b26d6 100644 --- a/gcc/flow.c +++ b/gcc/flow.c @@ -4356,11 +4356,14 @@ recompute_reg_usage (void) in sched1 to die. To solve this update the DEATH_NOTES here. */ update_life_info (NULL, UPDATE_LIFE_LOCAL, PROP_REG_INFO | PROP_DEATH_NOTES); + + if (dump_file) + dump_flow_info (dump_file); } struct tree_opt_pass pass_recompute_reg_usage = { - NULL, /* name */ + "life2", /* name */ NULL, /* gate */ recompute_reg_usage, /* execute */ NULL, /* sub */ @@ -4371,8 +4374,8 @@ struct tree_opt_pass pass_recompute_reg_usage = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - 0, /* todo_flags_finish */ - 0 /* letter */ + TODO_dump_func, /* todo_flags_finish */ + 'f' /* letter */ }; /* Optionally removes all the REG_DEAD and REG_UNUSED notes from a set of @@ -4538,7 +4541,7 @@ rest_of_handle_remove_death_notes (void) struct tree_opt_pass pass_remove_death_notes = { - NULL, /* name */ + "ednotes", /* name */ gate_remove_death_notes, /* gate */ rest_of_handle_remove_death_notes, /* execute */ NULL, /* sub */ @@ -4587,7 +4590,7 @@ rest_of_handle_life (void) struct tree_opt_pass pass_life = { - "life", /* name */ + "life1", /* name */ NULL, /* gate */ rest_of_handle_life, /* execute */ NULL, /* sub */ @@ -4606,11 +4609,6 @@ struct tree_opt_pass pass_life = static void rest_of_handle_flow2 (void) { - /* Re-create the death notes which were deleted during reload. */ -#ifdef ENABLE_CHECKING - verify_flow_info (); -#endif - /* If optimizing, then go ahead and split insns now. */ #ifndef STACK_REGS if (optimize > 0) -- cgit v1.1