[Bug middle-end/42561] missing uninitialized variable warning on simple arrays
matt at use dot net
gcc-bugzilla@gcc.gnu.org
Thu Dec 31 19:49:00 GMT 2009
------- 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
More information about the Gcc-bugs
mailing list