public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* How can I have a combination combination of debug build and compiler's optimization warnings
@ 2006-06-06 14:11 Michalis Giannakidis
  0 siblings, 0 replies; only message in thread
From: Michalis Giannakidis @ 2006-06-06 14:11 UTC (permalink / raw)
  To: gcc-help

Hello, 

I am looking for a way to do the following with gcc:

compile my application with the -g flag _and_ no -O flags and still get  the 
warnings about uninitialized variables.

I know that gcc does the "data flow analysis"  only when optimization (-O) 
options are specified. Is there an option/new feature/workaround so that I 
can get a debug build of my application and the more sophisticated warnings 
available with the optimization build?

Thank you

Michalis Giannakidis

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-06-06 14:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-06 14:11 How can I have a combination combination of debug build and compiler's optimization warnings Michalis Giannakidis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).