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/80786] New: m68k: internal compiler error: in change_address_1


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

            Bug ID: 80786
           Summary: m68k: internal compiler error: in change_address_1
           Product: gcc
           Version: 7.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: admin@tho-otto.de
  Target Milestone: ---

Created attachment 41369
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41369&action=edit
bla.c

When compiling the attached, small test program with

m68k-elf-gcc -O2 -mpcrel bla.c

i get

bla.c: In function 'dir_op':
bla.c:54:1: internal compiler error: in change_address_1, at emit-rtl.c:2150

The problem goes away when changing -O2 to a lower level, when omitting -mpcrel
or when changing the members of the DIRCOUNT structure to long.

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