GCC fails to detect an unitialized variable in a function. In the attached code [warning.c] it fails to detect that 'diglen' could be unitialized by time the 'for' loop is encountered.
--
Summary: GCC (v4.3.3) fails to detect uninitialized variable
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tstdenis at elliptictech dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42884
