aboutsummaryrefslogtreecommitdiff
path: root/libada
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2020-10-28 16:41:15 -0400
committerAndrew MacLeod <amacleod@redhat.com>2020-10-28 22:02:45 -0400
commit0162d00d12be24ee3f02ce876adafeaa91c6f7f9 (patch)
tree6ba997f13de10d9e7e4e7ffc8189b5508ae94f89 /libada
parentc6bfc4eb3c961181912647781d7dd38057db655b (diff)
downloadgcc-0162d00d12be24ee3f02ce876adafeaa91c6f7f9.zip
gcc-0162d00d12be24ee3f02ce876adafeaa91c6f7f9.tar.gz
gcc-0162d00d12be24ee3f02ce876adafeaa91c6f7f9.tar.bz2
Call infer_non_null() directly when checking for non-null.
Simply call infer_non_null directly and avoid uneccessary checks of the statement being modified. gcc/ PR tree-optimization/97609 * gimple-range-cache.cc (non_null_ref::process_name): Call infer_nonnull_range directly instead of infer_value_range. gcc/testsuite/ * g++.dg/pr97609.C: New.
Diffstat (limited to 'libada')
0 files changed, 0 insertions, 0 deletions