commit | 8a22a10c7879109c3906e1b865c50fe236b89f41 | [log] [tgz] |
---|---|---|
author | Andrew MacLeod <amacleod@redhat.com> | Wed Jun 16 11:14:36 2021 -0400 |
committer | Andrew MacLeod <amacleod@redhat.com> | Wed Jun 16 20:07:40 2021 -0400 |
tree | 9ed502f14d93c4c7faf5bc29a22cfb907580c8fe | |
parent | 487be9201c96d0a5c7c325339bc9c4916e933ed8 [diff] |
Range_on_edge in ranger_cache should return true for all ranges. Range_on_edge was implemented in the cache to always return a range, but only returned true when the edge actally changed the range. Return true with any range that can be calculated. * gimple-range-cache.cc (ranger_cache::range_on_edge): Always return true when a range can be calculated. * gimple-range.cc (gimple_ranger::dump_bb): Check has_edge_range_p.