OSDN Git Service

2006-03-02 Daniel Berlin <dberlin@dberlin.org>
[pf3gnuchains/gcc-fork.git] / gcc / profile.c
index d3bce07..7fa9aad 100644 (file)
@@ -1338,7 +1338,7 @@ tree_register_profile_hooks (void)
 
 \f
 /* 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 =