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: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: <stl at caltech dot edu>
- Cc: Andrew Pinski <pinskia at physics dot uc dot edu>, <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 18 Aug 2003 15:33:32 -0400
- Subject: Re: [Patch] Fix PR 5582 and 10538, missed uninitialized variable warning
On Monday, Aug 18, 2003, at 15:12 US/Eastern, Stephan T. Lavavej wrote:
[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.
You are right but I liked -Winit-self better and I was not reading the
email
too closing when I wrote the patch.
-Winit-self sounds better.
Andrew Pinski