git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@203861
138bc75d-0d04-0410-961f-
82ee72b054a4
wi::lts_p (const wide_int_ref &x, const wide_int_ref &y)
{
// We optimize x < y, where y is 64 or fewer bits.
- // We have to be careful to not allow comparison to a large positive
- // unsigned value like 0x8000000000000000, those would be encoded
- // with a y.len == 2.
- if (y.precision <= HOST_BITS_PER_WIDE_INT
- && y.len == 1)
+ if (y.precision <= HOST_BITS_PER_WIDE_INT)
{
// If x fits directly into a shwi, we can compare directly.
if (wi::fits_shwi_p (x))