This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
-Wuninitialized
- From: Nicola Pero <nicola at brainstorm dot co dot uk>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 28 Mar 2002 16:46:45 +0000 (GMT)
- Subject: -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