projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e74dc4
)
(standard_80386_constant_p): -0.0 is not 0.0.
author
Richard Kenner
<kenner@gcc.gnu.org>
Sun, 17 Mar 1996 00:16:54 +0000
(19:16 -0500)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Sun, 17 Mar 1996 00:16:54 +0000
(19:16 -0500)
From-SVN: r11545
gcc/config/i386/i386.c
patch
|
blob
|
history
diff --git
a/gcc/config/i386/i386.c
b/gcc/config/i386/i386.c
index 993b6c468dd812dde5b61b8c6d57cb86ce0186f1..def172275cd66ced1ace5a58c57651692e0471cd 100644
(file)
--- 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);