poly_int: fold_comparison
authorRichard Sandiford <richard.sandiford@linaro.org>
Thu, 21 Dec 2017 06:57:32 +0000 (06:57 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 21 Dec 2017 06:57:32 +0000 (06:57 +0000)
commit5b9bbb630de43db527acf5e5a80c0a3dd446e0d9
treec7b5184094697c069bbdf4fd5b52c03a7949f438
parent39bb8924559d0487fb7cb6d4dc33d6b1e9c41004
poly_int: fold_comparison

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

gcc/
* fold-const.c (fold_comparison): Track sizes and offsets as
poly_int64s rather than HOST_WIDE_INTs when folding address
comparisons.

Co-Authored-By: Alan Hayward <alan.hayward@arm.com>
Co-Authored-By: David Sherwood <david.sherwood@arm.com>
From-SVN: r255913
gcc/ChangeLog
gcc/fold-const.c