From: Dirk Zoller Date: Thu, 30 Sep 1999 06:22:45 +0000 (+0000) Subject: * invoke.texi: Add docs for -Wfloat-equal warning. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b8d2540a85716912e550e4915c52833471db0fe0;p=platform%2Fupstream%2Fgcc.git * invoke.texi: Add docs for -Wfloat-equal warning. From-SVN: r29723 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 08eecb4..801b235 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -6,6 +6,7 @@ Thu Sep 30 00:13:27 1999 Dirk Zoller * 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) diff --git a/gcc/invoke.texi b/gcc/invoke.texi index 9e9d664..6ce9c89 100644 --- a/gcc/invoke.texi +++ b/gcc/invoke.texi @@ -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}.