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


[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




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