Remove redundant code.
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 19 Oct 2013 18:20:52 +0000 (18:20 +0000)
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 19 Oct 2013 18:20:52 +0000 (18:20 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@203861 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/wide-int.h

index 374e79b..504e056 100644 (file)
@@ -1464,11 +1464,7 @@ inline bool
 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))