diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2020-10-28 16:41:15 -0400 |
---|---|---|
committer | Andrew MacLeod <amacleod@redhat.com> | 2020-10-28 22:02:45 -0400 |
commit | 0162d00d12be24ee3f02ce876adafeaa91c6f7f9 (patch) | |
tree | 6ba997f13de10d9e7e4e7ffc8189b5508ae94f89 /libada | |
parent | c6bfc4eb3c961181912647781d7dd38057db655b (diff) | |
download | gcc-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