Re: "uninitialized variable" warning from compiler

2009-10-29 Thread Ian Lance Taylor
Uma shankar writes: > a)  The compiler activates the warning mechanism only if  optimisation > is enabled  at compilation time with -O option. For all the bugs that > I went  through at bugzilla, the failure is not  -O level dependent. > The warning-failure occurs for  all levels of optimisation

"uninitialized variable" warning from compiler

2009-10-29 Thread Uma shankar
Hi,      I have few questions about  inbuilt mechanism of  gcc/g++  for warning about  uninitialized variable. I am interested in cases where  compiler is unable to warn.  I  am aware that all the known bugs about  warning-failure are mentioned  at  bugzilla   http://gcc.gnu.org/bugzilla/show_bug