diff options
Diffstat (limited to 'gcc/profile.c')
-rw-r--r-- | gcc/profile.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/profile.c b/gcc/profile.c index d3bce07b8e9..7fa9aad03ef 100644 --- a/gcc/profile.c +++ b/gcc/profile.c @@ -1338,7 +1338,7 @@ tree_register_profile_hooks (void) /* Do branch profiling and static profile estimation passes. */ -static void +static unsigned int rest_of_handle_branch_prob (void) { struct loops loops; @@ -1357,6 +1357,7 @@ rest_of_handle_branch_prob (void) flow_loops_free (&loops); free_dominance_info (CDI_DOMINATORS); + return 0; } struct tree_opt_pass pass_branch_prob = |