cp-tree.h (warn_float_equal): Declare.
authorDirk Zoller <duz@rtsffm.com>
Thu, 30 Sep 1999 06:15:53 +0000 (06:15 +0000)
committerJeff Law <law@gcc.gnu.org>
Thu, 30 Sep 1999 06:15:53 +0000 (00:15 -0600)
commit1bdba2c09c51979c2ec3387637e87648b0ac1db6
treebf9873a84808d407222be4f9b9123c3fe39dbee6
parent061f7e47214c16895074ea9ffcd1ceeb4aa67829
cp-tree.h (warn_float_equal): Declare.

        * cp-tree.h (warn_float_equal): Declare.
        * decl2.c (warn_float_equal): Define.
        (lang_decode_option): Recognize -W[no-]float-equal.
        * typeck.c (build_binary_op_nodefault): Conditionally warn
        about equality tests of floating point types.

From-SVN: r29721
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl2.c
gcc/cp/typeck.c