r255890 - in /trunk/gcc: ChangeLog fold-const.c

rsandifo@gcc.gnu.org rsandifo@gcc.gnu.org
Wed Dec 20 12:56:00 GMT 2017


Author: rsandifo
Date: Wed Dec 20 12:56:05 2017
New Revision: 255890

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

This patch changes the bitpos argument to pointer_may_wrap_p from
HOST_WIDE_INT to poly_int64.  A later patch makes the callers track
polynomial offsets.

2017-12-20  Richard Sandiford  <richard.sandiford@linaro.org>
	    Alan Hayward  <alan.hayward@arm.com>
	    David Sherwood  <david.sherwood@arm.com>

gcc/
	* fold-const.c (pointer_may_wrap_p): Take the offset as a
	HOST_WIDE_INT rather than a poly_int64.

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



More information about the Gcc-cvs mailing list