diff options
author | Stephen L Moshier <moshier@mediaone.net> | 2000-04-12 07:57:37 +0000 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2000-04-12 00:57:37 -0700 |
commit | 1817104857bbe7dc96c2834b6b1472aa6359244b (patch) | |
tree | 4cb0039b1670cfacde6ddbbb1e02842961e75b23 /gcc/real.c | |
parent | 298d6f60996d885b092748404528b60159a359ca (diff) | |
download | gcc-1817104857bbe7dc96c2834b6b1472aa6359244b.zip gcc-1817104857bbe7dc96c2834b6b1472aa6359244b.tar.gz gcc-1817104857bbe7dc96c2834b6b1472aa6359244b.tar.bz2 |
Stephen L Moshier <moshier@mediaone.net>
* real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Comment.
* real.c (toe64): Revert previous change.
From-SVN: r33097
Diffstat (limited to 'gcc/real.c')
-rw-r--r-- | gcc/real.c | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -3646,9 +3646,13 @@ toe64 (a, b) else { q = b + 4; /* point to output exponent */ -#if MAX_LONG_DOUBLE_TYPE_SIZE == 96 - /* Clear the last two bytes of 12-byte Intel format */ - *(q+1) = 0; + /* The purpose of this conditional is to avoid scribbling beyond + the end of a long double, in case the type is only 80 bits wide. */ + if (LONG_DOUBLE_TYPE_SIZE == 96) + { + /* Clear the last two bytes of 12-byte Intel format */ + *(q+1) = 0; + } #endif } #endif |