r255889 - in /trunk/gcc: ChangeLog gimple-ssa-s...

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


Author: rsandifo
Date: Wed Dec 20 12:55:57 2017
New Revision: 255889

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

This patch changes symbol_number::bytepos from a HOST_WIDE_INT
to a poly_int64.  perform_symbolic_merge can cope with symbolic
offsets as long as the difference between the two offsets is
constant.  (This could happen for a constant-sized field that
occurs at a variable offset, for example.)

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

gcc/
	* gimple-ssa-store-merging.c (symbolic_number::bytepos): Change from
	HOST_WIDE_INT to poly_int64_pod.
	(perform_symbolic_merge): Update accordingly.
	(bswap_replace): Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimple-ssa-store-merging.c



More information about the Gcc-cvs mailing list