This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/31715] New: array overflow misdetected
- 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: 26 Apr 2007 18:10:34 -0000
- Subject: [Bug c/31715] New: array overflow misdetected
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
following sample testcsae misdetects an array overflow
/home/marcus/projects/gcc/BIN/bin/gcc -c -O2 -Wall x.i
x.i: In function 'f':
x.i:7: warning: array subscript is above array bounds
--
Summary: array overflow misdetected
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: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31715