summaryrefslogtreecommitdiff
path: root/gcc/predict.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2007-02-27 00:07:03 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2007-02-27 00:07:03 +0000
commit4a4e44873d00dfb34f43f7ee92bcb119e873a1c5 (patch)
tree6cbbedd1764b99506933860619b93c22f1d16648 /gcc/predict.c
parent9676249d298984b3456a5efbc44e4c9b466b37e8 (diff)
downloadgcc-4a4e44873d00dfb34f43f7ee92bcb119e873a1c5.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122347 138bc75d-0d04-0410-961f-82ee72b054a4
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 0e86c527238..f390ebedb4d 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;