r255874 - in /trunk/gcc: ChangeLog rtlanal.c
rsandifo@gcc.gnu.org
rsandifo@gcc.gnu.org
Wed Dec 20 12:53:00 GMT 2017
Author: rsandifo
Date: Wed Dec 20 12:53:12 2017
New Revision: 255874
URL: https://gcc.gnu.org/viewcvs?rev=255874&root=gcc&view=rev
Log:
poly_int: rtx_addr_can_trap_p_1
This patch changes the offset and size arguments of
rtx_addr_can_trap_p_1 from HOST_WIDE_INT to poly_int64. It also
uses a size of -1 rather than 0 to represent an unknown size and
BLKmode rather than VOIDmode to represent an unknown mode.
2017-12-20 Richard Sandiford <richard.sandiford@linaro.org>
Alan Hayward <alan.hayward@arm.com>
David Sherwood <david.sherwood@arm.com>
gcc/
* rtlanal.c (rtx_addr_can_trap_p_1): Take the offset and size
as poly_int64s rather than HOST_WIDE_INTs. Use a size of -1
rather than 0 to represent an unknown size. Assert that the size
is known when the mode isn't BLKmode.
(may_trap_p_1): Use -1 for unknown sizes.
(rtx_addr_can_trap_p): Likewise. Pass BLKmode rather than VOIDmode.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/rtlanal.c
More information about the Gcc-cvs
mailing list