r255932 - in /trunk/gcc: ChangeLog tree.c tree.h

rsandifo@gcc.gnu.org rsandifo@gcc.gnu.org
Thu Dec 21 07:02:00 GMT 2017


Author: rsandifo
Date: Thu Dec 21 07:02:28 2017
New Revision: 255932

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

This patch changes the offset parameter to get_binfo_at_offset
from HOST_WIDE_INT to poly_int64.  This function probably doesn't
need to handle polynomial offsets in practice, but it's easy
to do and avoids forcing the caller to check first.

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

gcc/
	* tree.h (get_binfo_at_offset): Take the offset as a poly_int64
	rather than a HOST_WIDE_INT.
	* tree.c (get_binfo_at_offset): Likewise.

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



More information about the Gcc-cvs mailing list