summaryrefslogtreecommitdiff
path: root/gcc/flow.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/flow.c')
-rw-r--r--gcc/flow.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/gcc/flow.c b/gcc/flow.c
index 2e78674cf3e..ff03ca6fc2a 100644
--- a/gcc/flow.c
+++ b/gcc/flow.c
@@ -4409,7 +4409,7 @@ debug_regset (regset r)
It might be worthwhile to update REG_LIVE_LENGTH, REG_BASIC_BLOCK and
possibly other information which is used by the register allocators. */
-void
+unsigned int
recompute_reg_usage (void)
{
allocate_reg_life_data ();
@@ -4421,6 +4421,7 @@ recompute_reg_usage (void)
if (dump_file)
dump_flow_info (dump_file, dump_flags);
+ return 0;
}
struct tree_opt_pass pass_recompute_reg_usage =
@@ -4608,10 +4609,11 @@ gate_remove_death_notes (void)
return flag_profile_values;
}
-static void
+static unsigned int
rest_of_handle_remove_death_notes (void)
{
count_or_remove_death_notes (NULL, 1);
+ return 0;
}
struct tree_opt_pass pass_remove_death_notes =
@@ -4632,7 +4634,7 @@ struct tree_opt_pass pass_remove_death_notes =
};
/* Perform life analysis. */
-static void
+static unsigned int
rest_of_handle_life (void)
{
regclass_init ();
@@ -4661,6 +4663,7 @@ rest_of_handle_life (void)
}
no_new_pseudos = 1;
+ return 0;
}
struct tree_opt_pass pass_life =
@@ -4681,7 +4684,7 @@ struct tree_opt_pass pass_life =
'f' /* letter */
};
-static void
+static unsigned int
rest_of_handle_flow2 (void)
{
/* If optimizing, then go ahead and split insns now. */
@@ -4703,6 +4706,7 @@ rest_of_handle_flow2 (void)
thread_prologue_and_epilogue_insns (get_insns ());
epilogue_completed = 1;
flow2_completed = 1;
+ return 0;
}
struct tree_opt_pass pass_flow2 =