aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDavid Billinghurst <David.Billinghurst@riotinto.com>2001-04-19 15:17:30 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2001-04-19 15:17:30 +0200
commitd773df5ab749b14244179115bbc819272add4d73 (patch)
treef7eee68e10f2f33575f5cf93d51ddad210c31cd3 /gcc
parentbf7a6aafccaf2b6bb89ac8e930b826702d18c9de (diff)
downloadgcc-d773df5ab749b14244179115bbc819272add4d73.zip
gcc-d773df5ab749b14244179115bbc819272add4d73.tar.gz
gcc-d773df5ab749b14244179115bbc819272add4d73.tar.bz2
* invoke.texi (-Wshadow): Clarify.
From-SVN: r41420
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/invoke.texi3
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 002d639..576c6e4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2001-04-19 Jakub Jelinek <jakub@redhat.com>
+
+ * invoke.texi (-Wshadow): Clarify.
+
2001-04-18 Mark Mitchell <mark@codesourcery.com>
* loop.c (load_mems): Examine all the instructions in the loop
diff --git a/gcc/invoke.texi b/gcc/invoke.texi
index 9762596..cde251c 100644
--- a/gcc/invoke.texi
+++ b/gcc/invoke.texi
@@ -2135,7 +2135,8 @@ conversion warnings, for the full set use @samp{-Wconversion}.
Warn if an undefined identifier is evaluated in an @samp{#if} directive.
@item -Wshadow
-Warn whenever a local variable shadows another local variable.
+Warn whenever a local variable shadows another local variable, parameter or
+global variable or whenever a built-in function is shadowed.
@item -Wid-clash-@var{len}
Warn whenever two distinct identifiers match in the first @var{len}