https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112445

--- Comment #2 from Zdenek Sojka <zsojka at seznam dot cz> ---
Created attachment 56545
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56545&action=edit
testcase failing just at -O1

$ x86_64-pc-linux-gnu-gcc -O testcase2.c
testcase2.c: In function 'foo':
testcase2.c:19:1: error: unable to find a register to spill
   19 | }
      | ^
testcase2.c:19:1: error: this is the insn:
(insn 36 155 216 2 (parallel [
            (set (reg:TI 280 [orig:142 _66 ] [142])
                (mult:TI (zero_extend:TI (reg:DI 171 [ cu8_0 ]))
                    (zero_extend:TI (subreg:DI (reg:TI 104 [ _10 ]) 0))))
            (clobber (reg:CC 17 flags))
        ]) "testcase2.c":12:9 513 {*umulditi3_1}
     (expr_list:REG_DEAD (reg:DI 171 [ cu8_0 ])
        (expr_list:REG_UNUSED (reg:CC 17 flags)
            (nil))))
during RTL pass: reload
testcase2.c:19:1: internal compiler error: in lra_split_hard_reg_for, at
lra-assigns.cc:1861
0x7f4bef _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        /repo/gcc-trunk/gcc/rtl-error.cc:108
0x12bd93d lra_split_hard_reg_for()
        /repo/gcc-trunk/gcc/lra-assigns.cc:1861
0x12b6e38 lra(_IO_FILE*)
        /repo/gcc-trunk/gcc/lra.cc:2495
0x1265569 do_reload
        /repo/gcc-trunk/gcc/ira.cc:5973
0x1265569 execute
        /repo/gcc-trunk/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.

Reply via email to