Re: [PATCH] Remove a redundant statement in predict.c

2014-08-08 Thread Richard Biener
On Fri, Aug 8, 2014 at 1:59 AM, Yi Yang wrote: > Remove a redundant assignment "*predictor = PRED_BUILTIN_EXPECT;", > since six lines later *predictor is assigned again. Ok. Thanks, Richard. > -- > > 2014-08-07 Yi Yang > > gcc: > * predict.c (expr_expected_value_1): Remove the redundant

[PATCH] Remove a redundant statement in predict.c

2014-08-07 Thread Yi Yang
Remove a redundant assignment "*predictor = PRED_BUILTIN_EXPECT;", since six lines later *predictor is assigned again. -- 2014-08-07 Yi Yang gcc: * predict.c (expr_expected_value_1): Remove the redundant assignment. diff --git gcc/predict.c gcc/predict.c index 835c618..869fc5d 100644 ---