Re: Missing warning about uninitialized variable.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux