It would be nice to provide separate -W flags for the "is used uninitialized" and "may be used uninitialized" variants of -Wuninitialized. The former is always a problem, while the latter is often noise.
See this thread: http://ozlabs.org/pipermail/linuxppc-dev/2009-April/070540.html -- Summary: Separate warning classes for maybe-uninitialized and known-uninitialized variables. Product: gcc Version: unknown Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: scottwood at freescale dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39731