OSDN Git Service

patch from paul eggert to fix -0.0/0.0 confusion that breaks glibc
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Nov 1997 00:07:27 +0000 (00:07 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Nov 1997 00:07:27 +0000 (00:07 +0000)
commit62aa7862114c21c6a4f38e4113b5ce37c435d489
tree1ed9b899bbe18e155415baaf3f9f4beafd425fb0
parenta59e9a3a19b8ae18b9922541ebfc8cdd13858f1b
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16472 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/expr.c
gcc/fold-const.c
gcc/real.h
gcc/tree.c
gcc/varasm.c