diff options
author | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-10-19 18:20:52 +0000 |
---|---|---|
committer | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-10-19 18:20:52 +0000 |
commit | e6b1b76450af5f98696ecedd4bd9a0ed18cdb2a6 (patch) | |
tree | 0ffbaf79dd5e8fc1b8fca6ac506972e2df9c5c62 | |
parent | 23516b467b261b10edf0c0c704e9f8ccf1387a7b (diff) | |
download | gcc-e6b1b76450af5f98696ecedd4bd9a0ed18cdb2a6.tar.gz |
Remove redundant code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@203861 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/wide-int.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/wide-int.h b/gcc/wide-int.h index 374e79b0ac0..504e0564abe 100644 --- a/gcc/wide-int.h +++ b/gcc/wide-int.h @@ -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)) |