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: ad...@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.