diff options
author | Richard Henderson <rth@redhat.com> | 2003-02-25 15:00:54 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2003-02-25 15:00:54 -0800 |
commit | 8164b17107f599ed129b0574236e3738fa43dbef (patch) | |
tree | b513d54cda4f4acff87ab6f7b08ffd53a2e98571 /gcc/real.c | |
parent | 9e48c409cd51c9d8ca4a3e2d04553bd963135b07 (diff) | |
download | gcc-8164b17107f599ed129b0574236e3738fa43dbef.zip gcc-8164b17107f599ed129b0574236e3738fa43dbef.tar.gz gcc-8164b17107f599ed129b0574236e3738fa43dbef.tar.bz2 |
real.c (real_to_integer2): Force overflow result only for unsigned overflow.
* real.c (real_to_integer2): Force overflow result only for
unsigned overflow.
From-SVN: r63421
Diffstat (limited to 'gcc/real.c')
-rw-r--r-- | gcc/real.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1371,7 +1371,7 @@ real_to_integer2 (plow, phigh, r) exp = r->exp; if (exp <= 0) goto underflow; - if (exp >= 2*HOST_BITS_PER_WIDE_INT) + if (exp > 2*HOST_BITS_PER_WIDE_INT) goto overflow; rshift_significand (&t, r, 2*HOST_BITS_PER_WIDE_INT - exp); |