A construct with char arrays within a struct incorrectly triggers a buffer overflow warning.
testcase attached.
--
Summary: buffer overflow incorrectly detected
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: marcus at jet dot franken dot de
GCC build triplet: ppc-linux-gnu
GCC host triplet: ppc-linux-gnu
GCC target triplet: ppc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34285
