diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2022-07-20 20:37:45 +0200 |
---|---|---|
committer | Aldy Hernandez <aldyh@redhat.com> | 2022-07-24 17:00:50 +0200 |
commit | 164758b02c44cba66e00103c118c6a4b5f76a812 (patch) | |
tree | bbd73175242f78fb80d19c194c5960050a93f8ec /gcc/value-range.h | |
parent | 4a36b4e1fe405fe347d57c39f8e23ac8a6c57263 (diff) | |
download | gcc-164758b02c44cba66e00103c118c6a4b5f76a812.zip gcc-164758b02c44cba66e00103c118c6a4b5f76a812.tar.gz gcc-164758b02c44cba66e00103c118c6a4b5f76a812.tar.bz2 |
Tweaks to global ranges.
The global get_nonzero_bits was previously returning -1 for
unsupported types. I dropped this in the conversion to global ranges
and it's causing a problem in the frange work, where CCP is asking for
the nonzero bits of non-integral types. CCP may require further
tweaks, but for now, restore the original behavior.
Also, I'm removing old checks for precision that no longer hold, now
that we handle various types for global ranges.
Tested on x86-64 Linux.
gcc/ChangeLog:
* tree-ssanames.cc (get_nonzero_bits): Return -1 for unsupported
types.
* value-query.cc (get_ssa_name_range_info): Remove precision check.
Diffstat (limited to 'gcc/value-range.h')
0 files changed, 0 insertions, 0 deletions