This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/34285] New: buffer overflow incorrectly detected
- From: "marcus at jet dot franken dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Nov 2007 10:36:31 -0000
- Subject: [Bug c/34285] New: buffer overflow incorrectly detected
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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