aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-array-bounds.h
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2021-07-22 16:03:53 +0200
committerAldy Hernandez <aldyh@redhat.com>2021-07-22 17:29:07 +0200
commit4048d8a08621820dd6cc6035e13de3c3c82af4a5 (patch)
treeb8fcf105a222bef8503c43e2be5e69f4313767ef /gcc/gimple-array-bounds.h
parent3f7a2374d312112ea9a858dbbb883edf50730e96 (diff)
downloadgcc-4048d8a08621820dd6cc6035e13de3c3c82af4a5.zip
gcc-4048d8a08621820dd6cc6035e13de3c3c82af4a5.tar.gz
gcc-4048d8a08621820dd6cc6035e13de3c3c82af4a5.tar.bz2
Allow non-null adjustments for pointers even when there is a known range.
Fix non_null_ref::adjust_range so it always adjust ranges, not just varying ranges. This will allow pointers that have a range, but are not necessarily non-null, to be adjusted. gcc/ChangeLog: * gimple-range-cache.cc (non_null_ref::adjust_range): Replace varying_p check for null/non-null check.
Diffstat (limited to 'gcc/gimple-array-bounds.h')
0 files changed, 0 insertions, 0 deletions