This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/42561] missing uninitialized variable warning on simple arrays
- From: "matt at use dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Dec 2009 19:49:47 -0000
- Subject: [Bug middle-end/42561] missing uninitialized variable warning on simple arrays
- References: <bug-42561-8137@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from matt at use dot net 2009-12-31 19:49 -------
Created an attachment (id=19432)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19432&action=view)
slightly different example that eliminates heap dependency
to reproduce:
g++ -O3 -Wall gcc-missing-uninit.cpp
result:
gives 1 warning
expected result:
should give 3 warnings, as noted in comments
--
matt at use dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #19428|0 |1
is obsolete| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42561