diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1c0404a775e..7519b766ad1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-08-07 Yi Yang + + * predict.c (expr_expected_value_1): Remove the redundant assignment. + + 2014-08-08 Richard Biener * lto-streamer.h (struct lto_input_block): Make it a class diff --git a/gcc/predict.c b/gcc/predict.c index 03657c9a829..f7b86f1bf9f 100644 --- a/gcc/predict.c +++ b/gcc/predict.c @@ -1859,7 +1859,6 @@ expr_expected_value_1 (tree type, tree op0, enum tree_code code, return val; if (predictor) { - *predictor = PRED_BUILTIN_EXPECT; tree val2 = gimple_call_arg (def, 2); gcc_assert (TREE_CODE (val2) == INTEGER_CST && tree_fits_uhwi_p (val2)