aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-range-cache.h
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2021-06-22 17:21:32 -0400
committerAndrew MacLeod <amacleod@redhat.com>2021-06-23 10:24:30 -0400
commitca4d381662c37733b2a1d49d6c8f5fcfc1348f3d (patch)
treee3195ffe8265eb1cb184f48da0c1e8627aa2690c /gcc/gimple-range-cache.h
parent9d674b735f22aa9cf85629851783ce38f25087b5 (diff)
downloadgcc-ca4d381662c37733b2a1d49d6c8f5fcfc1348f3d.zip
gcc-ca4d381662c37733b2a1d49d6c8f5fcfc1348f3d.tar.gz
gcc-ca4d381662c37733b2a1d49d6c8f5fcfc1348f3d.tar.bz2
Adjust on_entry cache to indicate if the value was set properly.
* gimple-range-cache.cc (class ssa_block_ranges): Adjust prototype. (sbr_vector::set_bb_range): Return true. (class sbr_sparse_bitmap): Adjust. (sbr_sparse_bitmap::set_bb_range): Return value. (block_range_cache::set_bb_range): Return value. (ranger_cache::propagate_cache): Use return value to print msg. * gimple-range-cache.h (class block_range_cache): Adjust.
Diffstat (limited to 'gcc/gimple-range-cache.h')
-rw-r--r--gcc/gimple-range-cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gimple-range-cache.h b/gcc/gimple-range-cache.h
index 04150ea..1d2e1b9 100644
--- a/gcc/gimple-range-cache.h
+++ b/gcc/gimple-range-cache.h
@@ -50,7 +50,7 @@ public:
block_range_cache ();
~block_range_cache ();
- void set_bb_range (tree name, const basic_block bb, const irange &r);
+ bool set_bb_range (tree name, const basic_block bb, const irange &r);
bool get_bb_range (irange &r, tree name, const basic_block bb);
bool bb_range_p (tree name, const basic_block bb);