This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/58270] New: Wrong code accessing array elements


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]