From 8ab92e4eeb181a450d0bec5d7b33152d961d0ddf Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sat, 16 Mar 1996 19:16:54 -0500 Subject: [PATCH] (standard_80386_constant_p): -0.0 is not 0.0. From-SVN: r11545 --- gcc/config/i386/i386.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2