This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/66410] New: [SH] ICE: in assign_by_spills, at lra-assigns.c:1428 with -mlra
- From: "kkojima at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 03 Jun 2015 23:37:57 +0000
- Subject: [Bug target/66410] New: [SH] ICE: in assign_by_spills, at lra-assigns.c:1428 with -mlra
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66410
Bug ID: 66410
Summary: [SH] ICE: in assign_by_spills, at lra-assigns.c:1428
with -mlra
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: kkojima at gcc dot gnu.org
CC: olegendo at gcc dot gnu.org
Target Milestone: ---
Target: sh*-*-*
With -O2 -mlra, trunk sh compiler fails to compile zlib/deflate.c:
zlib/deflate.c: In function 'deflateSetDictionary':
zlib/deflate.c:389:1: error: unable to find a register to spill
zlib/deflate.c:389:1: error: this is the insn:
(insn 803 804 156 15 (set (reg:HI 387)
(reg:HI 388)) zlib/deflate.c:349 272 {*movhi}
(expr_list:REG_DEAD (reg:HI 388)
(nil)))
zlib/deflate.c:389:1: internal compiler error: in assign_by_spills, at
lra-assigns.c:1428
0x86e265f _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
trunk/gcc/rtl-error.c:110
0x85e21cc assign_by_spills
trunk/gcc/lra-assigns.c:1428
...