Re: Fix mismatched precisions in tree arithmetic

2017-10-02 Thread Richard Biener
On Sun, Oct 1, 2017 at 6:13 PM, Richard Sandiford wrote: > The tree wi:: decompose routine wasn't asserting that the requested > precision matched the tree's precision. This could make a difference > for unsigned trees that are exactly N HWIs wide and that have the upper > bit set, since we then

Fix mismatched precisions in tree arithmetic

2017-10-01 Thread Richard Sandiford
The tree wi:: decompose routine wasn't asserting that the requested precision matched the tree's precision. This could make a difference for unsigned trees that are exactly N HWIs wide and that have the upper bit set, since we then need an extra zero HWI when extending it to wider precisions (as f