aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgrtl.c
diff options
context:
space:
mode:
authorZdenek Dvorak <dvorakz@suse.cz>2007-04-22 02:51:38 +0200
committerZdenek Dvorak <rakdver@gcc.gnu.org>2007-04-22 00:51:38 +0000
commitf06b0a10f9843a34d6df20c7803d900ff177e908 (patch)
tree343ac747a37ed1b76579c673bbf2348482cacc21 /gcc/cfgrtl.c
parente919dfe284cd927fd0c1f0c9dea2570093e5280b (diff)
downloadgcc-f06b0a10f9843a34d6df20c7803d900ff177e908.zip
gcc-f06b0a10f9843a34d6df20c7803d900ff177e908.tar.gz
gcc-f06b0a10f9843a34d6df20c7803d900ff177e908.tar.bz2
predict.c: Include pointer-set.h.
* predict.c: Include pointer-set.h. (bb_predictions): New variable. (tree_predicted_by_p, tree_predict_edge, remove_predictions_associated_with_edge): Use bb_predictions map instead of bb->predictions. (clear_bb_predictions, assert_is_empty): New functions. (combine_predictions_for_bb): Use bb_predictions map. Call clear_bb_predictions. (tree_estimate_probability): Create and free bb_predictions map. * Makefile.in (predict.o): Add pointer-set.h dependency. * basic-block.h (struct basic_block_def): Remove predictions field. * cfgrtl.c (rtl_verify_flow_info_1): Do not check bb->predictions. From-SVN: r124032
Diffstat (limited to 'gcc/cfgrtl.c')
-rw-r--r--gcc/cfgrtl.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c
index 9bc2b99..20b946d 100644
--- a/gcc/cfgrtl.c
+++ b/gcc/cfgrtl.c
@@ -1716,12 +1716,6 @@ rtl_verify_flow_info_1 (void)
bb->index);
err = 1;
}
-
- if (bb->predictions)
- {
- error ("bb prediction set for block %d, but it is not used in RTL land", bb->index);
- err = 1;
- }
}
/* Now check the basic blocks (boundaries etc.) */