r255912 - in /trunk/gcc: ChangeLog expr.c expr....

rsandifo@gcc.gnu.org rsandifo@gcc.gnu.org
Thu Dec 21 06:57:00 GMT 2017


Author: rsandifo
Date: Thu Dec 21 06:57:18 2017
New Revision: 255912

URL: https://gcc.gnu.org/viewcvs?rev=255912&root=gcc&view=rev
Log:
poly_int: get_bit_range

This patch makes get_bit_range return the range and position as poly_ints.

2017-12-21  Richard Sandiford  <richard.sandiford@linaro.org>
	    Alan Hayward  <alan.hayward@arm.com>
	    David Sherwood  <david.sherwood@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.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/expr.c
    trunk/gcc/expr.h
    trunk/gcc/fold-const.c



More information about the Gcc-cvs mailing list