From: Ben Elliston Date: Thu, 15 Dec 2005 22:31:20 +0000 (+0000) Subject: invoke.texi (Warning Options): Document -Walways-true being enabled by -Wall. X-Git-Tag: releases/gcc-4.2.0~5327 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=032371611e8c201066de98516b14f0e6a5b8b20d;p=thirdparty%2Fgcc.git invoke.texi (Warning Options): Document -Walways-true being enabled by -Wall. * doc/invoke.texi (Warning Options): Document -Walways-true being enabled by -Wall. From-SVN: r108599 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4170cbc9dc83..497f426387b6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-12-16 Ben Elliston + + * doc/invoke.texi (Warning Options): Document -Walways-true being + enabled by -Wall. + 2005-12-15 Joseph S. Myers PR other/25028 diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 198d26545103..ee579477b670 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -3114,8 +3114,9 @@ a warning.) @item -Walways-true @opindex Walways-true -Warn about comparisons which are always true such as testing if unsigned -values are greater than zero. +Warn about comparisons which are always true such as testing if +unsigned values are greater than or equal to zero. This warning is +enabled by @option{-Wall}. @item -Wno-attributes @opindex Wno-attributes