[Bug target/67638] New: [SH] ICE with nosave_low_regs ISR and -mfmovd
olegendo at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Sep 19 16:57:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67638
Bug ID: 67638
Summary: [SH] ICE with nosave_low_regs ISR and -mfmovd
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: olegendo at gcc dot gnu.org
Target Milestone: ---
Target: sh*-*-*
When compiling the test cases pragma-isr-nosave_low_regs.c and
attr-isr-nosave_low_regs.c in gcc.target/sh there's an ICE:
attr-isr-nosave_low_regs.c: In function 'isr':
attr-isr-nosave_low_regs.c:25:1: internal compiler error: in get_free_reg, at
config/sh/sh.c:10204
0xd9ab6a get_free_reg
../../gcc-trunk2/gcc/config/sh/sh.c:10204
0xd9ab6a fpscr_set_from_mem(int, unsigned long*)
../../gcc-trunk2/gcc/config/sh/sh.c:10217
0xd9fe17 push_regs
../../gcc-trunk2/gcc/config/sh/sh.c:7191
0xd9fe17 sh_expand_prologue()
../../gcc-trunk2/gcc/config/sh/sh.c:7942
0xe8b53a gen_prologue()
../../gcc-trunk2/gcc/config/sh/sh.md:11649
0xd8bbc8 target_gen_prologue
../../gcc-trunk2/gcc/config/sh/sh.md:16732
0x812c7d thread_prologue_and_epilogue_insns()
../../gcc-trunk2/gcc/function.c:6119
0x8136e2 rest_of_handle_thread_prologue_and_epilogue
../../gcc-trunk2/gcc/function.c:6670
0x8136e2 execute
../../gcc-trunk2/gcc/function.c:6712
Please submit a full bug report,
More information about the Gcc-bugs
mailing list