This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch] Fix PR 5582 and 10538, missed uninitialized variablewarning
- From: Jason Merrill <jason at redhat dot com>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 18 Aug 2003 16:46:30 -0400
- Subject: Re: [Patch] Fix PR 5582 and 10538, missed uninitialized variablewarning
- References: <ECB33C92-D18B-11D7-8DE3-000393A6D2F2@physics.uc.edu>
On Mon, 18 Aug 2003 10:54:53 -0400, Andrew Pinski <pinskia@physics.uc.edu> wrote:
> +If you want to warn about were the uninitialized variable is initialized
> +with itself, use the @option{-Winit-self} option.
"If you want to warn about code which uses the uninitialized value of the
variable in its own initializer, use ..."
-Winit-self also works for me.
Hmm. Why do you want this to be language-specific?
Jason