Re: [PATCH GCC]Don't clobber cbase when computing iv_use cost.

2016-05-02 Thread Richard Biener
On Fri, Apr 29, 2016 at 5:55 PM, Bin Cheng wrote: > Hi, > This fixes a latent bug I introduced. Variable "cbase" shouldn't be modified > since it will be used afterwards. Bootstrap and test on x86_64. I think > it's an obvious change, is it OK? Ok. Richard. > Thanks, > bin > > 2016-04-28

[PATCH GCC]Don't clobber cbase when computing iv_use cost.

2016-04-29 Thread Bin Cheng
Hi, This fixes a latent bug I introduced. Variable "cbase" shouldn't be modified since it will be used afterwards. Bootstrap and test on x86_64. I think it's an obvious change, is it OK? Thanks, bin 2016-04-28 Bin Cheng * tree-ssa-loop-ivopts.c (get_computation_cost_at): Don't cl