diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-01-20 11:06:32 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-01-20 11:06:32 +0000 |
commit | b49c0893c3b14f56c9ce5e7fda7743e4b296cd63 (patch) | |
tree | f3c3703142f16981e01ea743a25c930e416fb543 /gcc/real.c | |
parent | 50fdec8e112503dc288429fdc9f48b0eec4d0fdc (diff) | |
download | gcc-b49c0893c3b14f56c9ce5e7fda7743e4b296cd63.tar.gz |
Use STATIC_ASSERT. Remove unnecessary template argument.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@206801 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/real.c')
-rw-r--r-- | gcc/real.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/real.c b/gcc/real.c index 51d18685d96..9ed08b0e9de 100644 --- a/gcc/real.c +++ b/gcc/real.c @@ -1444,7 +1444,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) |