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

Mikael Pettersson <mikpelinux at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mikpelinux at gmail dot com

--- Comment #2 from Mikael Pettersson <mikpelinux at gmail dot com> ---
Also loops with today's trunk. Without -mlra we get an immediate ICE instead:

lra-split-loop.c.c: In function 'f':
lra-split-loop.c.c:28:1: error: unable to find a register to spill in class
'DATA_REGS'
   28 | }
      | ^
lra-split-loop.c.c:28:1: error: this is the insn:
(jump_insn 27 26 28 2 (set (pc)
        (if_then_else (le (reg:HI 8 %a0 [orig:46 _3 ] [46])
                (const_int 6 [0x6]))
            (label_ref:SI 41)
            (pc))) "lra-split-loop.c.c":23:6 7 {cbranchhi4_insn}
     (expr_list:REG_DEAD (reg:HI 8 %a0 [orig:46 _3 ] [46])
        (int_list:REG_BR_PROB 365072225 (nil)))
 -> 41)
lra-split-loop.c.c:28: confused by earlier errors, bailing out

Reply via email to