This is the mail archive of the gcc-bugs@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]

[Bug c/42884] GCC (v4.3.3) fails to detect uninitialized variable



------- Comment #5 from tstdenis at elliptictech dot com  2010-01-27 14:08 -------
(In reply to comment #4)
> Yes. I'm pretty sure we have duplicates in Bugzilla. Anyway, I just tested two
> other high quality compilers and they don't warn either. I don't think we can
> reach zero negatives in this area any time soon.
> 

If this bug is a dupe please close this as resolved/dupe.  I didn't check that
hard.

I think this is a bug because GCC attempts to resolve whether variables are
initialized or not and doesn't in this case.  It's misleading to the user to
suggest it can do something it clearly cannot [in this case].


-- 

tstdenis at elliptictech dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|4.3.3                       |unknown


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]