aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1996-03-16 19:16:54 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1996-03-16 19:16:54 -0500
commit8ab92e4eeb181a450d0bec5d7b33152d961d0ddf (patch)
tree6693a6c5021a9ebdd1db0adcecfaa67290e21712
parent9e74dc4154b83b504ba9382b4c68a19368c648b5 (diff)
downloadgcc-8ab92e4eeb181a450d0bec5d7b33152d961d0ddf.zip
gcc-8ab92e4eeb181a450d0bec5d7b33152d961d0ddf.tar.gz
gcc-8ab92e4eeb181a450d0bec5d7b33152d961d0ddf.tar.bz2
(standard_80386_constant_p): -0.0 is not 0.0.
From-SVN: r11545
-rw-r--r--gcc/config/i386/i386.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index 993b6c4..def1722 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -1368,7 +1368,7 @@ standard_80387_constant_p (x)
set_float_handler (handler);
REAL_VALUE_FROM_CONST_DOUBLE (d, x);
- is0 = REAL_VALUES_EQUAL (d, dconst0);
+ is0 = REAL_VALUES_EQUAL (d, dconst0) && !REAL_VALUE_MINUS_ZERO (d);
is1 = REAL_VALUES_EQUAL (d, dconst1);
set_float_handler (NULL_PTR);