Fix VR_ANTI_RANGE handling in intersect_range_with_nonzero_bits (PR 84321)
Jeff Law
law@redhat.com
Tue Feb 13 15:49:00 GMT 2018
On 02/13/2018 08:26 AM, Richard Biener wrote:
> On Mon, Feb 12, 2018 at 4:29 PM, Richard Sandiford
> <richard.sandiford@linaro.org> wrote:
>> VR_ANTI_RANGE is basically a union of two ranges, and although
>> intersect_range_with_nonzero_bits had code to deal with the upper
>> one being empty, it didn't handle the lower one being empty.
>> There were also some off-by-one errors.
>>
>> This patch rewrites the code in a hopefully clearer way.
>>
>> Tested on aarch64-linux-gnu and x86_64-linux-gnu. OK to install?
>
> Ok.
And committed.
jeff
More information about the Gcc-patches
mailing list