diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-05 19:58:12 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-05 19:58:12 +0000 |
commit | 664c66df04eea07b57ac70a5b04fc19a29a5c901 (patch) | |
tree | 147e19df41ace9803c8f08cbb87943c40dd4bb61 /gcc/double-int.c | |
parent | db242b6d0eba96a468a2cea2c0e175aeb210644a (diff) | |
download | gcc-664c66df04eea07b57ac70a5b04fc19a29a5c901.tar.gz |
gcc/
* double-int.c (lshift_double, rshift_double): Remove
SHIFT_COUNT_TRUNCATED handling.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204415 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/double-int.c')
-rw-r--r-- | gcc/double-int.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/gcc/double-int.c b/gcc/double-int.c index 32dc514a3dd..3803a63e3a9 100644 --- a/gcc/double-int.c +++ b/gcc/double-int.c @@ -20,7 +20,7 @@ along with GCC; see the file COPYING3. If not see #include "config.h" #include "system.h" #include "coretypes.h" -#include "tm.h" /* For SHIFT_COUNT_TRUNCATED. */ +#include "tm.h" /* For BITS_PER_UNIT and *_BIG_ENDIAN. */ #include "tree.h" static int add_double_with_sign (unsigned HOST_WIDE_INT, HOST_WIDE_INT, @@ -237,9 +237,6 @@ rshift_double (unsigned HOST_WIDE_INT l1, HOST_WIDE_INT h1, ? -((unsigned HOST_WIDE_INT) h1 >> (HOST_BITS_PER_WIDE_INT - 1)) : 0); - if (SHIFT_COUNT_TRUNCATED) - count %= prec; - if (count >= HOST_BITS_PER_DOUBLE_INT) { /* Shifting by the host word size is undefined according to the @@ -295,9 +292,6 @@ lshift_double (unsigned HOST_WIDE_INT l1, HOST_WIDE_INT h1, { unsigned HOST_WIDE_INT signmask; - if (SHIFT_COUNT_TRUNCATED) - count %= prec; - if (count >= HOST_BITS_PER_DOUBLE_INT) { /* Shifting by the host word size is undefined according to the |