diff options
author | Ben Elliston <bje@au.ibm.com> | 2005-12-15 22:31:20 +0000 |
---|---|---|
committer | Ben Elliston <bje@gcc.gnu.org> | 2005-12-16 09:31:20 +1100 |
commit | 032371611e8c201066de98516b14f0e6a5b8b20d (patch) | |
tree | 47f446495113a8ce83959a19ee3a3556d1d559e9 | |
parent | 4a73d8657b1e02983b234533732b9dbc09c7929b (diff) | |
download | gcc-032371611e8c201066de98516b14f0e6a5b8b20d.zip gcc-032371611e8c201066de98516b14f0e6a5b8b20d.tar.gz gcc-032371611e8c201066de98516b14f0e6a5b8b20d.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4170cbc..497f426 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 198d265..ee57947 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 |