r255892 - in /trunk/gcc: ChangeLog cfgexpand.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:24 2017
New Revision: 255892

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

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-12-20  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.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cfgexpand.c
    trunk/gcc/tree.h



More information about the Gcc-cvs mailing list