summaryrefslogtreecommitdiff
path: root/gcc/real.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-09-18 21:23:24 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-09-18 21:23:24 +0000
commit453abe37970b220ab26f898dfb4dd4b779a57c03 (patch)
tree810d6d7807031584b5a724dfcc6ac010f2e6afe0 /gcc/real.c
parentee9c19ee1fc5c8ffa122f8facaa76cfdeb449272 (diff)
downloadgcc-453abe37970b220ab26f898dfb4dd4b779a57c03.tar.gz
* real.c (sticky_rshift_significand): Collect sticky as
unsigned long, not bool. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57284 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/real.c')
-rw-r--r--gcc/real.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/real.c b/gcc/real.c
index dd9f9be4f98..cf72b4c73f2 100644
--- a/gcc/real.c
+++ b/gcc/real.c
@@ -239,7 +239,7 @@ sticky_rshift_significand (r, a, n)
const struct real_value *a;
unsigned int n;
{
- bool sticky = false;
+ unsigned long sticky = 0;
unsigned int i, ofs = 0;
if (n >= HOST_BITS_PER_LONG)
@@ -268,7 +268,7 @@ sticky_rshift_significand (r, a, n)
r->sig[i] = 0;
}
- r->sig[0] |= sticky;
+ r->sig[0] |= (sticky != 0);
}
/* Right-shift the significand of A by N bits; put the result in the