]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix return value in ranger_cache::get_global_range.
authorAndrew MacLeod <amacleod@redhat.com>
Fri, 18 Mar 2022 15:50:33 +0000 (11:50 -0400)
committerAndrew MacLeod <amacleod@redhat.com>
Fri, 13 May 2022 14:39:41 +0000 (10:39 -0400)
commit98e475a8f58ca3ba6e9bd5c9276efce4236f5d26
tree23b251154718e5f4ef9bfcc95ba0c0be5fda847d
parentb0ad41c6101ad6f9729bf53a8dcdccad0778e513
Fix return value in ranger_cache::get_global_range.

The "is_current" status is returned by parameter, but was being returned by the
function as well instead of true if NAME had a global range, and FALSE
if it did not.

* gimple-range-cache.cc (ranger_cache::get_global_range): Return the
had_global value instead.
gcc/gimple-range-cache.cc