https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115013
Jeffrey A. Law <law at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |law at gcc dot gnu.org
Target|RISC-V |RISC-V, pru
--- Comment #1 from Jeffrey A. Law <law at gcc dot gnu.org> ---
The LRA patch has also been identified as the cause of similar failures in the
PRU port (gcc.dg/pr71478.c):
/cc1 -O2 pr71478.c -quiet
pr71478.c: In function ‘foo’:
pr71478.c:19:1: error: unable to find a register to spill
19 | }
| ^
pr71478.c:19:1: error: this is the insn:
(insn 15 33 30 2 (set (reg:SI 169 [orig:163 _11 ] [163])
(mult:SI (reg:SI 171)
(reg:SI 172 [170]))) "pr71478.c":18:12 discrim 1 631 {mulsi3}
(expr_list:REG_DEAD (reg:SI 172 [170])
(expr_list:REG_DEAD (reg:SI 171)
(nil))))
during RTL pass: reload
pr71478.c:19:1: internal compiler error: in lra_split_hard_reg_for, at
lra-assigns.cc:1868
0x14fda20 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
/home/jlaw/test/gcc/gcc/rtl-error.cc:108
0x12eff3a lra_split_hard_reg_for()
/home/jlaw/test/gcc/gcc/lra-assigns.cc:1868
0x12e91fe lra(_IO_FILE*, int)
/home/jlaw/test/gcc/gcc/lra.cc:2518
0x1291c6b do_reload
/home/jlaw/test/gcc/gcc/ira.cc:5973
0x12920fa execute
/home/jlaw/test/gcc/gcc/ira.cc:6161
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
jlaw@x11-dpi:~/test/obj/pru/gcc/gcc$