summaryrefslogtreecommitdiff
path: root/gcc/real.c
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2014-04-23 10:47:34 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2014-04-23 10:47:34 +0000
commitc311b856b2cba0c426fdc646db8ae60a59f035c0 (patch)
tree82eb7f2396f54b578dc352f34d49acdd01bb3d25 /gcc/real.c
parenta87365c70a434f981dcbe71d287d0197d99424f5 (diff)
downloadlinaro-gcc-c311b856b2cba0c426fdc646db8ae60a59f035c0.tar.gz
linaro-gcc-c311b856b2cba0c426fdc646db8ae60a59f035c0.tar.bz2
linaro-gcc-c311b856b2cba0c426fdc646db8ae60a59f035c0.zip
Tweak uses of new API
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@209689 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/real.c')
-rw-r--r--gcc/real.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/real.c b/gcc/real.c
index a5e396e0471..f8e8d7fdfd9 100644
--- a/gcc/real.c
+++ b/gcc/real.c
@@ -1446,7 +1446,7 @@ real_to_integer (const REAL_VALUE_TYPE *r, bool *fail, int precision)
w = SIGSZ * HOST_BITS_PER_LONG + words * HOST_BITS_PER_WIDE_INT;
tmp = real_int::from_array
(val, (w + HOST_BITS_PER_WIDE_INT - 1) / HOST_BITS_PER_WIDE_INT, w);
- tmp = wi::lrshift<real_int> (tmp, (words * HOST_BITS_PER_WIDE_INT) - exp);
+ tmp = wi::lrshift (tmp, (words * HOST_BITS_PER_WIDE_INT) - exp);
result = wide_int::from (tmp, precision, UNSIGNED);
if (r->sign)