summaryrefslogtreecommitdiff
path: root/gcc/flow.c
diff options
context:
space:
mode:
authorbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>2005-08-10 09:02:48 +0000
committerbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>2005-08-10 09:02:48 +0000
commit228967a9230a164d744d7829974f3daf4fde55eb (patch)
tree7154582b6e5a6b54e05449f8475c0e96e2ad36f0 /gcc/flow.c
parent84e0b98da311c5814c05fcb821d89abf2b1069b1 (diff)
downloadgcc-228967a9230a164d744d7829974f3daf4fde55eb.tar.gz
2005-08-09 Paolo Bonzini <bonzini@gnu.org>
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102945 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/flow.c')
-rw-r--r--gcc/flow.c18
1 files changed, 8 insertions, 10 deletions
diff --git a/gcc/flow.c b/gcc/flow.c
index 2ebcdda0073..79b26d698f0 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)