Re: Missing pointer dereference in tree-affine.c

2016-05-06 Thread Richard Biener
On Thu, May 5, 2016 at 4:19 PM, Richard Sandiford wrote: > wide_int_constant_multiple_p used: > > if (*mult_set && mult != 0) > return false; > > to check whether we had previously seen a nonzero multiple, but "mult" is > a pointer to the previous value rather than the previous value

Missing pointer dereference in tree-affine.c

2016-05-05 Thread Richard Sandiford
wide_int_constant_multiple_p used: if (*mult_set && mult != 0) return false; to check whether we had previously seen a nonzero multiple, but "mult" is a pointer to the previous value rather than the previous value itself. Noticed by inspection while working on another patch, so I d