This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/80786] New: m68k: internal compiler error: in change_address_1
- From: "admin at tho-otto dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 16 May 2017 17:59:48 +0000
- Subject: [Bug c/80786] New: m68k: internal compiler error: in change_address_1
- Auto-submitted: auto-generated
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.