[Bug c/91254] New: Wrong generate code with a series of array access

alebencz at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Jul 24 22:10:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91254

            Bug ID: 91254
           Summary: Wrong generate code with a series of array access
           Product: gcc
           Version: 8.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: alebencz at gmail dot com
  Target Milestone: ---

Created attachment 46625
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46625&action=edit
Source that generates the error

The attached program serves to calculate the PI number, after a series of
attempts I found it to be a mistake in GCC, because I tested with other
compilers and the system ran correctly, calculating the PI number, tested with
DMC, VC ++, TCC and OrangeC, I did the same test with GCC on PPC64LE with GCC
version 8.3.0 and on s390x.

The system enters on the first loop, and, never go out.


More information about the Gcc-bugs mailing list