This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [032/nnn] poly_int: symbolic_number
- From: Jeff Law <law at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org, richard dot sandiford at linaro dot org
- Date: Tue, 28 Nov 2017 10:43:16 -0700
- Subject: Re: [032/nnn] poly_int: symbolic_number
- Authentication-results: sourceware.org; auth=none
- References: <871sltvm7r.fsf@linaro.org> <871sltpz3a.fsf@linaro.org>
On 10/23/2017 11:12 AM, Richard Sandiford wrote:
> 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-10-23 Richard Sandiford <richard.sandiford@linaro.org>
> Alan Hayward <alan.hayward@arm.com>
> David Sherwood <david.sherwood@arm.com>
>
> gcc/
> * tree-ssa-math-opts.c (symbolic_number::bytepos): Change from
> HOST_WIDE_INT to poly_int64.
> (perform_symbolic_merge): Update accordingly.
OK.
jeff