[Patch] Fix PR 5582 and 10538, missed uninitialized variable warning

Andrew Pinski pinskia@physics.uc.edu
Mon Aug 18 19:33:00 GMT 2003


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



More information about the Gcc-patches mailing list