diff options
author | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-08-25 20:08:29 +0000 |
---|---|---|
committer | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-08-25 20:08:29 +0000 |
commit | 5a2e4914a5275e69a0486949ec3742a25ac1b3ed (patch) | |
tree | b6e32f9aeda98d5438cbb422791b9c76ae226b6f /gcc/wide-int.cc | |
parent | 354c584c3235dd0fd2a8cab7463a55932c39c804 (diff) | |
download | gcc-5a2e4914a5275e69a0486949ec3742a25ac1b3ed.tar.gz |
Use CHAR_BIT for host char bitsize.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@201980 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/wide-int.cc')
-rw-r--r-- | gcc/wide-int.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/wide-int.cc b/gcc/wide-int.cc index 37ce5b34f80..891c227c3b4 100644 --- a/gcc/wide-int.cc +++ b/gcc/wide-int.cc @@ -2056,7 +2056,7 @@ wide_int_ro::mul_internal (bool high, bool full, /* The 2 is for a full mult. */ memset (r, 0, half_blocks_needed * 2 - * HOST_BITS_PER_HALF_WIDE_INT / BITS_PER_UNIT); + * HOST_BITS_PER_HALF_WIDE_INT / CHAR_BIT); for (j = 0; j < half_blocks_needed; j++) { |