diff options
author | Jan Hubicka <jh@suse.cz> | 2004-09-23 02:50:37 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2004-09-23 00:50:37 +0000 |
commit | e53de54da399b14c108c994a81c047502cf4a513 (patch) | |
tree | b424c4477beb895f8bc28d96a8c822154f4b71bc /gcc/passes.c | |
parent | d0259e11e7c68f2dbc212e5a31efc2a02dd79add (diff) | |
download | gcc-e53de54da399b14c108c994a81c047502cf4a513.zip gcc-e53de54da399b14c108c994a81c047502cf4a513.tar.gz gcc-e53de54da399b14c108c994a81c047502cf4a513.tar.bz2 |
cfgexpand.c (add_reg_br_prob_note): New function.
* cfgexpand.c (add_reg_br_prob_note): New function.
(expand_gimple_cond_expr): Use it.
(tree_expand_cfg): No longer kill the profile.
* cfgrt.c (rtl_verify_flow_info_1): Check profile consistency
only if it is present.
* passes.c (rest_of_handle_loop_optimize): Kill the profile.
* predict.c (combine_predictions_for_insn): Set the probabilities
based on REG_BR_PROB note if present.
* predict.c (branch_prob): Profile is read only with
flag_branch_probabilities.
From-SVN: r87910
Diffstat (limited to 'gcc/passes.c')
-rw-r--r-- | gcc/passes.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/passes.c b/gcc/passes.c index 986151b..c62f2e9 100644 --- a/gcc/passes.c +++ b/gcc/passes.c @@ -1138,6 +1138,7 @@ rest_of_handle_loop_optimize (void) /* CFG is no longer maintained up-to-date. */ free_bb_for_insn (); + profile_status = PROFILE_ABSENT; do_prefetch = flag_prefetch_loop_arrays ? LOOP_PREFETCH : 0; |