This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [023/nnn] poly_int: store_field & co


On 10/23/2017 11:09 AM, Richard Sandiford wrote:
> This patch makes store_field and related routines use poly_ints
> for bit positions and sizes.  It keeps the existing choices
> between signed and unsigned types (there are a mixture of both).
> 
> 
> 2017-10-23  Richard Sandiford  <richard.sandiford@linaro.org>
> 	    Alan Hayward  <alan.hayward@arm.com>
> 	    David Sherwood  <david.sherwood@arm.com>
> 
> gcc/
> 	* expr.c (store_constructor_field): Change bitsize from a
> 	unsigned HOST_WIDE_INT to a poly_uint64 and bitpos from a
> 	HOST_WIDE_INT to a poly_int64.
> 	(store_constructor): Change size from a HOST_WIDE_INT to
> 	a poly_int64.
> 	(store_field): Likewise bitsize and bitpos.

OK
jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]