patch from paul eggert to fix -0.0/0.0 confusion that breaks glibc
authorPaul Eggert <eggert@twinsun.com>
Fri, 14 Nov 1997 00:07:27 +0000 (00:07 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Fri, 14 Nov 1997 00:07:27 +0000 (16:07 -0800)
commit41c9120baf04bf432d39a11298f2550292581922
tree1ed9b899bbe18e155415baaf3f9f4beafd425fb0
parent323d8e7b661297d87002730d2e3f55bca134baaf
patch from paul eggert to fix -0.0/0.0 confusion that breaks glibc
* real.h (REAL_VALUES_IDENTICAL): New macro.
* expr.c (is_zeros_p): Don't consider -0.0 to be all zeros.
* fold-const.c (operand_equal_p): Don't consider -0.0 to be
identical to 0.0.
* tree.c (simple_cst_equal): Don't consider -0.0 to have the
same tree structure as 0.0.
* varasm.c (immed_real_const_1): Use new REAL_VALUES_IDENTICAL
macro instead of doing it by hand.

From-SVN: r16472
gcc/ChangeLog
gcc/expr.c
gcc/fold-const.c
gcc/real.h
gcc/tree.c
gcc/varasm.c