This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/73650] New: powerpc: -mcpu=e500mc hits ICE: insn does not satisfy its constraints
- From: "anton at samba dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 11 Aug 2016 11:00:23 +0000
- Subject: [Bug target/73650] New: powerpc: -mcpu=e500mc hits ICE: insn does not satisfy its constraints
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=73650
Bug ID: 73650
Summary: powerpc: -mcpu=e500mc hits ICE: insn does not satisfy
its constraints
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: anton at samba dot org
CC: amodra at gcc dot gnu.org, segher at gcc dot gnu.org,
wschmidt at gcc dot gnu.org
Target Milestone: ---
Target: powerpc32-linux
Created attachment 39160
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39160&action=edit
Test case
The following test case hits an ICE:
# gcc -m32 -mcpu=e500mc -O2 testcase.c
testcase.c:11:1: error: insn does not satisfy its constraints:
}
^
(insn 75 71 90 3 (parallel [
(set (reg:CC 75 7 [204])
(compare:CC (reg/v:SI 9 9 [orig:190 n ] [190])
(const_int 0 [0])))
(set (reg:SI 66 ctr [orig:203 n ] [203])
(reg/v:SI 9 9 [orig:190 n ] [190]))
]) 465 {*movsi_internal2}
(nil))
testcase.c:11:1: internal compiler error: in extract_constrain_insn, at
recog.c:2211
0x10840b93 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
../../gcc/gcc/rtl-error.c:108
0x10840beb _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
../../gcc/gcc/rtl-error.c:119
0x10806797 extract_constrain_insn(rtx_insn*)
../../gcc/gcc/recog.c:2211
0x106eeae7 check_rtl
../../gcc/gcc/lra.c:2108
0x106f486f lra(_IO_FILE*)
../../gcc/gcc/lra.c:2516
0x106941ff do_reload
../../gcc/gcc/ira.c:5384
0x106941ff execute
../../gcc/gcc/ira.c:5568