From 032371611e8c201066de98516b14f0e6a5b8b20d Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Thu, 15 Dec 2005 22:31:20 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/doc/invoke.texi | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4170cbc9dc8..497f426387b 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 198d2654510..ee579477b67 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 -- 2.30.2