]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
invoke.texi (Warning Options): Document -Walways-true being enabled by -Wall.
authorBen Elliston <bje@au.ibm.com>
Thu, 15 Dec 2005 22:31:20 +0000 (22:31 +0000)
committerBen Elliston <bje@gcc.gnu.org>
Thu, 15 Dec 2005 22:31:20 +0000 (09:31 +1100)
* doc/invoke.texi (Warning Options): Document -Walways-true being
enabled by -Wall.

From-SVN: r108599

gcc/ChangeLog
gcc/doc/invoke.texi

index 4170cbc9dc836548f0a2e11c11d3d9b79532d366..497f426387b604b0648e77d38d690e413f920744 100644 (file)
@@ -1,3 +1,8 @@
+2005-12-16  Ben Elliston  <bje@au.ibm.com>
+
+       * doc/invoke.texi (Warning Options): Document -Walways-true being
+       enabled by -Wall.
+
 2005-12-15  Joseph S. Myers  <joseph@codesourcery.com>
 
        PR other/25028
index 198d265451033d28122b04bbd730d57167f178b8..ee579477b6705afaba4d93232ff06cca9ed6950a 100644 (file)
@@ -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