This is the mail archive of the gcc@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]

-Wuninitialized


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



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