From: Richard Kenner Date: Sun, 17 Mar 1996 00:16:54 +0000 (-0500) Subject: (standard_80386_constant_p): -0.0 is not 0.0. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8ab92e4eeb181a450d0bec5d7b33152d961d0ddf;p=gcc.git (standard_80386_constant_p): -0.0 is not 0.0. From-SVN: r11545 --- diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 993b6c468dd..def172275cd 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);