On 10/23/2017 11:14 AM, Richard Sandiford wrote: > This patch makes get_bit_range return the range and position as poly_ints. > > > 2017-10-23 Richard Sandiford <richard.sandif...@linaro.org> > Alan Hayward <alan.hayw...@arm.com> > David Sherwood <david.sherw...@arm.com> > > gcc/ > * expr.h (get_bit_range): Return the bitstart and bitend as > poly_uint64s rather than unsigned HOST_WIDE_INTs. Return the bitpos > as a poly_int64 rather than a HOST_WIDE_INT. > * expr.c (get_bit_range): Likewise. > (expand_assignment): Update call accordingly. > * fold-const.c (optimize_bit_field_compare): Likewise. OK. jeff