Fix some confusion with IEEE minus zero.
commita3912ed75ec2b655daf216b6d84c93c0fc71c12d
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Nov 1997 14:30:01 +0000 (14 14:30 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Nov 1997 14:30:01 +0000 (14 14:30 +0000)
tree0fa84d43683d7072caeb4d2c39d7969ac783811b
parent2e3d82d60c1b133beae8a85ee5ffd83a6d5e362d
    Fix some confusion with IEEE minus zero.

        * 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/branches/egcs_1_00_branch@16488 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/expr.c
gcc/fold-const.c
gcc/real.h
gcc/tree.c
gcc/varasm.c