diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-06-25 11:57:53 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-06-25 11:57:53 +0000 |
commit | 83480dec6042d266a6e213a860dbd871b6b85f4c (patch) | |
tree | fcd0bb9afb768f1dc2170bdeaffb0ba47bc7696e /gcc/predict.c | |
parent | 91ac7c14a904530533c09140c1a2916f5d166bd2 (diff) | |
download | gcc-83480dec6042d266a6e213a860dbd871b6b85f4c.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101321 138bc75d-0d04-0410-961f-82ee72b054a4
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 2e78d3937a0..792acb8ab14 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); |