From b8d2540a85716912e550e4915c52833471db0fe0 Mon Sep 17 00:00:00 2001 From: Dirk Zoller Date: Thu, 30 Sep 1999 06:22:45 +0000 Subject: [PATCH] * invoke.texi: Add docs for -Wfloat-equal warning. From-SVN: r29723 --- gcc/ChangeLog | 1 + gcc/invoke.texi | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 08eecb4a721..801b23585da 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 9e9d66482a3..6ce9c898b9d 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}. -- 2.30.2