Implement irange::fits_p.
authorAldy Hernandez <aldyh@redhat.com>
Fri, 2 Oct 2020 08:36:17 +0000 (10:36 +0200)
committerAldy Hernandez <aldyh@redhat.com>
Fri, 2 Oct 2020 08:36:17 +0000 (10:36 +0200)
commit6a0423c52ef56d6fc2e0392b91bf22941fdeb0db
tree4d4e2447df085ec55450896565dac2bcba9528dd
parent6c2675fa2bbcfe37308af593edb18e2c1c8eabf0
Implement irange::fits_p.

This should have been included in the irange_allocator patch, as
a method to see if the current object can hold a passed range
without truncation.

gcc/ChangeLog:

* value-range.h (irange::fits_p): New.
gcc/value-range.h