Missing warning about uninitialized variable.

Tony Wetmore tony.wetmore@solipsys.com
Thu Nov 29 22:12:00 GMT 2007


Mikael Vidstedt wrote:
 > I still haven't seen anybody comment on why that warning
 > isn't displayed with the latest GCC versions, no matter
 > how many extra parameters you give it?

Mikael,

I'm afraid that your thread has been effectively hijacked.

Your problem sounds like a bug to me.  By searching the GCC bug database 
for "uninitialized warning", I found the following bugs that sound 
suspiciously similar to yours:

   http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22456
   http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18501

These bugs were opened as regression failures for GCC 4.1, 4.2 and 4.3.

There is some discussion in the comments about whether or not the bug is 
fixable, and when it might (or might not) be fixed.

Hope this helps.

-Tony



More information about the Gcc-help mailing list