summaryrefslogtreecommitdiff
path: root/gcc/predict.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2000-05-04 17:58:40 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2000-05-04 17:58:40 +0000
commit2f5d30d928ca07598d5f3fbcda66c21843c587ea (patch)
tree1e440c93b0cf9b6ab0028a87f03704e2286e4b61 /gcc/predict.c
parent88b05e081178d1e56362a58107a1449267564c60 (diff)
downloadgcc-2f5d30d928ca07598d5f3fbcda66c21843c587ea.tar.gz
* bb-reorder.c (get_next_bb_note, get_prev_bb_note): Prototype.
* diagnostic (vbuild_message_string, build_message_string, build_location_prefix, output_get_prefix, init_output_buffer, output_notice, vline_wrapper_message_with_location, v_message_with_decl, default_print_error_function): De-constify. (set_real_maximum_length): Prototype. * diagnostic.h (struct output_buffer, init_output_buffer, output_get_prefix, output_set_prefix): De-constify. * function.c (init_function_start): Constify. * gensupport.c (remove_constraints, process_rtx): Prototype. * gthr-posix.h: Indent uses of #pragma. * objc/objc-act.c (ggc_mark_imp_list, ggc_mark_hash_table): Prototype. * predict.c (find_expected_value): Delete prototype. (expected_value_to_br_prob): Initialize variable `ev_reg'. * sbitmap.h (debug_sbitmap): Prototype. * ssa.c (compute_coalesced_reg_partition): Prototype. * stor-layout.c (debug_rli): Prototype. * tree.h (round_down): Prototype. (init_function_start): Constify. ch: * ch-tree.h (init_function_start): Constify. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33675 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/predict.c')
-rw-r--r--gcc/predict.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/predict.c b/gcc/predict.c
index 6900f0ed217..b957e5f6050 100644
--- a/gcc/predict.c
+++ b/gcc/predict.c
@@ -216,12 +216,10 @@ estimate_probability (loops_info)
expected values of registers. Generate branch probabilities
based off these values. */
-static rtx find_expected_value PARAMS ((rtx, rtx));
-
void
expected_value_to_br_prob ()
{
- rtx insn, cond, ev = NULL_RTX, ev_reg;
+ rtx insn, cond, ev = NULL_RTX, ev_reg = NULL_RTX;
for (insn = get_insns (); insn ; insn = NEXT_INSN (insn))
{