aboutsummaryrefslogtreecommitdiff
path: root/gcc/value-range.h
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2022-11-21 23:18:43 +0100
committerAldy Hernandez <aldyh@redhat.com>2023-04-25 09:38:33 +0200
commit36d98023c8b8d2a2e286ab68b1d17402c217102d (patch)
tree26e97912dad42127d44d86c841fd215f7270727e /gcc/value-range.h
parenta4916881b74c36c613a8a7abe040bb197ea8ba75 (diff)
downloadgcc-36d98023c8b8d2a2e286ab68b1d17402c217102d.zip
gcc-36d98023c8b8d2a2e286ab68b1d17402c217102d.tar.gz
gcc-36d98023c8b8d2a2e286ab68b1d17402c217102d.tar.bz2
Pass correct type to irange::contains_p() in ipa-cp.cc.
There is a call to contains_p() in ipa-cp.cc which passes incompatible types. This currently works because deep in the call chain, the legacy code uses tree_int_cst_lt which performs the operation with widest_int. With the upcoming removal of legacy, contains_p() will be stricter. gcc/ChangeLog: * ipa-cp.cc (ipa_range_contains_p): New. (decide_whether_version_node): Use it.
Diffstat (limited to 'gcc/value-range.h')
0 files changed, 0 insertions, 0 deletions