This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/49754] Let gcc warn about all uninitialized variables
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 15 Jul 2011 08:38:20 +0000
- Subject: [Bug c/49754] Let gcc warn about all uninitialized variables
- Auto-submitted: auto-generated
- References: <bug-49754-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49754
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-07-15 08:36:30 UTC ---
(In reply to comment #0)
> == Expected Results ==
> foo.c: In function âfooâ:
> foo.c:2:?: warning: âxâ is used uninitialized in this function
It should really warn if 'x.i' is used uninitialized, not 'x'