aboutsummaryrefslogtreecommitdiff
path: root/gcc/predict.c
diff options
context:
space:
mode:
authorMarek Polacek <mpolacek@gcc.gnu.org>2013-12-04 22:47:11 +0000
committerMarek Polacek <mpolacek@gcc.gnu.org>2013-12-04 22:47:11 +0000
commit31e071aeb827f49ce2e891620852198e99d44a0c (patch)
tree20fca81276f1e6d6224300c11a4e10fa89519d41 /gcc/predict.c
parent59b6687cceaf95d8c49afee88248cf4fb0a33105 (diff)
downloadgcc-31e071aeb827f49ce2e891620852198e99d44a0c.zip
gcc-31e071aeb827f49ce2e891620852198e99d44a0c.tar.gz
gcc-31e071aeb827f49ce2e891620852198e99d44a0c.tar.bz2
Implement -fsanitize=signed-integer-overflow.
From-SVN: r205684
Diffstat (limited to 'gcc/predict.c')
-rw-r--r--gcc/predict.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/predict.c b/gcc/predict.c
index 822343b..1cd3fa6 100644
--- a/gcc/predict.c
+++ b/gcc/predict.c
@@ -74,14 +74,6 @@ along with GCC; see the file COPYING3. If not see
static sreal real_zero, real_one, real_almost_one, real_br_prob_base,
real_inv_br_prob_base, real_one_half, real_bb_freq_max;
-/* Random guesstimation given names.
- PROV_VERY_UNLIKELY should be small enough so basic block predicted
- by it gets below HOT_BB_FREQUENCY_FRACTION. */
-#define PROB_VERY_UNLIKELY (REG_BR_PROB_BASE / 2000 - 1)
-#define PROB_EVEN (REG_BR_PROB_BASE / 2)
-#define PROB_VERY_LIKELY (REG_BR_PROB_BASE - PROB_VERY_UNLIKELY)
-#define PROB_ALWAYS (REG_BR_PROB_BASE)
-
static void combine_predictions_for_insn (rtx, basic_block);
static void dump_prediction (FILE *, enum br_predictor, int, basic_block, int);
static void predict_paths_leading_to (basic_block, enum br_predictor, enum prediction);