This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]