This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [035/nnn] poly_int: expand_debug_expr
- 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, 5 Dec 2017 10:08:14 -0700
- Subject: Re: [035/nnn] poly_int: expand_debug_expr
- Authentication-results: sourceware.org; auth=none
- References: <871sltvm7r.fsf@linaro.org> <87o9oxokh2.fsf@linaro.org>
On 10/23/2017 11:14 AM, Richard Sandiford wrote:
> This patch makes expand_debug_expr track polynomial memory offsets.
> It simplifies the handling of the case in which the reference is not
> to the first byte of the base, which seemed non-trivial enough to
> make it worth splitting out as a separate patch.
>
>
> 2017-10-23 Richard Sandiford <richard.sandiford@linaro.org>
> Alan Hayward <alan.hayward@arm.com>
> David Sherwood <david.sherwood@arm.com>
>
> gcc/
> * tree.h (get_inner_reference): Add a version that returns the
> offset and size as poly_int64_pods rather than HOST_WIDE_INTs.
> * cfgexpand.c (expand_debug_expr): Track polynomial offsets. Simply
> the case in which bitpos is not associated with the first byte.
OK.
jeff