* invoke.texi: Add docs for -Wfloat-equal warning.
authorDirk Zoller <duz@rtsffm.com>
Thu, 30 Sep 1999 06:22:45 +0000 (06:22 +0000)
committerJeff Law <law@gcc.gnu.org>
Thu, 30 Sep 1999 06:22:45 +0000 (00:22 -0600)
From-SVN: r29723

gcc/ChangeLog
gcc/invoke.texi

index 08eecb4a7215115e65cda1be0eae9a8baef85a46..801b23585da7cbc54a3297893fcfef5c8744a58e 100644 (file)
@@ -6,6 +6,7 @@ Thu Sep 30 00:13:27 1999  Dirk Zoller  <duz@rtsffm.com>
        * c-typeck.c (build_binary_op): Conditionally warn
        about equality tests of floating point types.
        * toplev.c (documented_lan_options): Add -W[no-]float-equal.
+       * invoke.texi: Add docs for -Wfloat-equal warning.
 
 Wed Sep 29 23:43:39 1999  Jeffrey A Law  (law@cygnus.com)
 
index 9e9d66482a3dd459d4171d52fb2b2afdcb133613..6ce9c898b9d6480b17bad9456e8ba815c3f3b0c8 100644 (file)
@@ -125,7 +125,7 @@ in the following sections.
 -Wconversion  -Werror  -Wformat
 -Wid-clash-@var{len}  -Wimplicit -Wimplicit-int 
 -Wimplicit-function-declaration  -Wimport
--Werror-implicit-function-declaration  -Winline
+-Werror-implicit-function-declaration  -Wfloat-equal -Winline
 -Wlarger-than-@var{len}  -Wlong-long
 -Wmain  -Wmissing-declarations  -Wmissing-noreturn
 -Wmissing-prototypes  -Wmultichar  -Wnested-externs  -Wno-import  
@@ -1389,6 +1389,9 @@ Warn when a declaration does not specify a type.
 Give a warning (or error) whenever a function is used before being
 declared.
 
+@item -Wfloat-equal
+Warn if floating point values are used in equality comparisons.
+
 @item -Wimplicit
 Same as @samp{-Wimplicit-int} and @samp{-Wimplicit-function-}@*
 @samp{declaration}.