in the attached testcase, both GCC 4.5.20091214 and GCC 4.4.1 on Ubuntu 9.10 miss the uninitialized use warnings specified in the comments. it does correct catch the simple byte variable base, as noted in the comments.
-- Summary: missing uninitialized variable warning on simple arrays Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: matt at use dot net GCC build triplet: x86_64-linux-unknown GCC host triplet: x86_64-linux-unknown GCC target triplet: x86_64-linux-unknown http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42561