This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/58270] New: Wrong code accessing array elements
- From: "strasbur at chkw386 dot ch.pwr.wroc.pl" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 29 Aug 2013 10:48:45 +0000
- Subject: [Bug c/58270] New: Wrong code accessing array elements
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58270
Bug ID: 58270
Summary: Wrong code accessing array elements
Product: gcc
Version: 4.7.2
Status: UNCONFIRMED
Severity: critical
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: strasbur at chkw386 dot ch.pwr.wroc.pl
Host: i386-pc-linux
Target: i386-pc-linux
Created attachment 30717
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30717&action=edit
Isolated code giving wrong results
Array elements are accessed incorretly, if the array is passed in a global
structure.
This bug exists in 4.6 and 4.7 up to 4.7.2, no info about newer 4.7, 4.8 and
development.