summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2005-12-15 22:31:20 +0000
committerbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2005-12-15 22:31:20 +0000
commit644bf179d77f1f0c07470a73ded15cf267b3f806 (patch)
tree47f446495113a8ce83959a19ee3a3556d1d559e9
parent3212edfa491e970255dd03c6991c868399c7be1d (diff)
downloadgcc-644bf179d77f1f0c07470a73ded15cf267b3f806.tar.gz
* doc/invoke.texi (Warning Options): Document -Walways-true being
enabled by -Wall. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108599 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/invoke.texi5
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 <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
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