aboutsummaryrefslogtreecommitdiff
path: root/gcc/predict.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2007-02-27 01:07:03 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2007-02-27 00:07:03 +0000
commit75b6bb627c3dd2ae3b8b338903f94610666a9111 (patch)
tree6cbbedd1764b99506933860619b93c22f1d16648 /gcc/predict.c
parent48982394521bb1a742a11aa5c17a25a9acd96639 (diff)
downloadgcc-75b6bb627c3dd2ae3b8b338903f94610666a9111.zip
gcc-75b6bb627c3dd2ae3b8b338903f94610666a9111.tar.gz
gcc-75b6bb627c3dd2ae3b8b338903f94610666a9111.tar.bz2
predict.def: Set outcomes according to more recent results.
* predict.def: Set outcomes according to more recent results. (PRED_LOOP_CONDITION, PRED_LOOP_PRECONDITIONING, PRED_LOOP_HEADER): Remove dead predictors. * predict.c (return_prediction): Fix pasto. From-SVN: r122347
Diffstat (limited to 'gcc/predict.c')
-rw-r--r--gcc/predict.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/predict.c b/gcc/predict.c
index 0e86c52..f390ebe 100644
--- a/gcc/predict.c
+++ b/gcc/predict.c
@@ -1152,7 +1152,7 @@ return_prediction (tree val, enum prediction *prediction)
&& (!integer_zerop (val) && !integer_onep (val)))
{
*prediction = TAKEN;
- return PRED_NEGATIVE_RETURN;
+ return PRED_CONST_RETURN;
}
}
return PRED_NO_PREDICTION;