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 variable warning
- From: "Stephan T. Lavavej" <stl at caltech dot edu>
- To: <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 18 Aug 2003 12:12:56 -0700
- Subject: Re: [Patch] Fix PR 5582 and 10538, missed uninitialized variable warning
- Reply-to: <stl at caltech dot edu>
[Jason Merrill]
> How about -Wself-init, which would be included in -Wall?
[Andrew Pinski]
> How about this -Wself-init is not included in -Wall but when it is enabled
> it adds a warning about the initialization of variable with it self.
> * c.opt: Introduce -Winit-self.
So, -Wself-init or -Winit-self? It's probably a good idea to decide one way
or the other now.
Stephan T. Lavavej
http://stl.caltech.edu