poly_int: fold_comparison
commitfbf76f35caf921ed72f07c5810a77d21f29f1750
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Dec 2017 06:57:32 +0000 (21 06:57 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Dec 2017 06:57:32 +0000 (21 06:57 +0000)
treec7b5184094697c069bbdf4fd5b52c03a7949f438
parent2a0c8955ee52065f720950bd053718fedc5e8ff8
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@255913 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/fold-const.c