aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-profile.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-profile.c')
-rw-r--r--gcc/tree-profile.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tree-profile.c b/gcc/tree-profile.c
index 157c600..fe42309 100644
--- a/gcc/tree-profile.c
+++ b/gcc/tree-profile.c
@@ -234,7 +234,7 @@ do_tree_profiling (void)
return false;
}
-static void
+static unsigned int
tree_profiling (void)
{
branch_prob ();
@@ -247,6 +247,7 @@ tree_profiling (void)
easy to adjust it, if and when there is some. */
free_dominance_info (CDI_DOMINATORS);
free_dominance_info (CDI_POST_DOMINATORS);
+ return 0;
}
struct tree_opt_pass pass_tree_profile =