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 middle-end/42561] missing uninitialized variable warning on simple arrays



------- 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


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