From d773df5ab749b14244179115bbc819272add4d73 Mon Sep 17 00:00:00 2001 From: David Billinghurst Date: Thu, 19 Apr 2001 15:17:30 +0200 Subject: [PATCH] * invoke.texi (-Wshadow): Clarify. From-SVN: r41420 --- gcc/ChangeLog | 4 ++++ gcc/invoke.texi | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 002d639c4ae..576c6e492b2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2001-04-19 Jakub Jelinek + + * invoke.texi (-Wshadow): Clarify. + 2001-04-18 Mark Mitchell * loop.c (load_mems): Examine all the instructions in the loop diff --git a/gcc/invoke.texi b/gcc/invoke.texi index 9762596ad79..cde251c2932 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}