diff options
author | Jan Hubicka <jh@suse.cz> | 2005-06-25 13:57:53 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2005-06-25 11:57:53 +0000 |
commit | 5d9f607b1b3e84f2f360aa758bcedf181649e5bb (patch) | |
tree | fcd0bb9afb768f1dc2170bdeaffb0ba47bc7696e /gcc/predict.c | |
parent | 49373252db90030369310429e5c755f26d20f67f (diff) | |
download | gcc-5d9f607b1b3e84f2f360aa758bcedf181649e5bb.zip gcc-5d9f607b1b3e84f2f360aa758bcedf181649e5bb.tar.gz gcc-5d9f607b1b3e84f2f360aa758bcedf181649e5bb.tar.bz2 |
passes.c (rest_of_handle_branch_prob): Do not rebuild profiling info when not neecesary
* passes.c (rest_of_handle_branch_prob): Do not rebuild profiling info
when not neecesary
(rest_of_compilation): Fix conditional on branch prob pass.
* predict.c (tree_estimate_probability): Enable strip_builtin_expect
when not loop optimizing.
From-SVN: r101321
Diffstat (limited to 'gcc/predict.c')
-rw-r--r-- | gcc/predict.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/predict.c b/gcc/predict.c index 2e78d39..792acb8 100644 --- a/gcc/predict.c +++ b/gcc/predict.c @@ -1383,7 +1383,7 @@ tree_estimate_probability (void) FOR_EACH_BB (bb) combine_predictions_for_bb (dump_file, bb); - if (0) /* FIXME: Enable once we are pass down the profile to RTL level. */ + if (!flag_loop_optimize) strip_builtin_expect (); estimate_bb_frequencies (&loops_info); free_dominance_info (CDI_POST_DOMINATORS); |