Commit 9691f3a1 by Donn Terry Committed by Richard Henderson

* real.c (PUT_REAL) [XFmode]: Zero the balance of the structure.

From-SVN: r25081
parent e6a3e2ba
Mon Feb 8 11:43:07 1999 Donn Terry <donn@interix.com>
* real.c (PUT_REAL) [XFmode]: Zero the balance of the structure.
Mon Feb 8 11:37:24 1999 Marc Espie (espie@cvs.openbsd.org) Mon Feb 8 11:37:24 1999 Marc Espie (espie@cvs.openbsd.org)
* m88k/t-luna-gas: Remove bash dependency. * m88k/t-luna-gas: Remove bash dependency.
......
...@@ -248,7 +248,12 @@ unknown arithmetic type ...@@ -248,7 +248,12 @@ unknown arithmetic type
#define MAXDECEXP 4932 #define MAXDECEXP 4932
#define MINDECEXP -4956 #define MINDECEXP -4956
#define GET_REAL(r,e) bcopy ((char *) r, (char *) e, 2*NE) #define GET_REAL(r,e) bcopy ((char *) r, (char *) e, 2*NE)
#define PUT_REAL(e,r) bcopy ((char *) e, (char *) r, 2*NE) #define PUT_REAL(e,r) \
do { \
if (2*NE < sizeof(*r)) \
bzero((char *)r, sizeof(*r)); \
bcopy ((char *) e, (char *) r, 2*NE); \
} while (0)
#else /* no XFmode */ #else /* no XFmode */
#if LONG_DOUBLE_TYPE_SIZE == 128 #if LONG_DOUBLE_TYPE_SIZE == 128
#define NE 10 #define NE 10
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment