This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Missing warning about uninitialized variable.


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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]