-Wuninitialized

Nicola Pero nicola@brainstorm.co.uk
Thu Mar 28 08:54:00 GMT 2002


The -Wuninitialized option to gcc does nothing if no optimization is used,
since data flow information is not computed.

Would it be possible to have an option to force the computation of this
data flow information, not for optimization purposes but just for the sake
of having -Wuninitialized working ?

Because during debugging, I would expect

-g -Wall 

to produce maximum warnings and debugging information etc, and it's a bit
strange that to get all the actual warnings you rather need to do

-g -O -Wall




More information about the Gcc mailing list