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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ra

--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> ---
LRA turns

(insn 370 325 371 2 (set (reg:DI 261)
        (const_int -88 [0xffffffffffffffa8])) "dl-tunables.c":264:15 76
{*movdi_internal}
     (expr_list:REG_EQUIV (const_int -88 [0xffffffffffffffa8])
        (nil)))
(insn 371 370 749 2 (parallel [
            (set (reg:DI 262)
                (minus:DI (reg:DI 261)
                    (reg/f:DI 259)))
            (clobber (reg:CC 17 flags))
        ]) "dl-tunables.c":264:15 299 {*subdi_1}
     (expr_list:REG_DEAD (reg:DI 261)
        (expr_list:REG_UNUSED (reg:CC 17 flags)
            (expr_list:REG_EQUIV (minus:DI (const_int -88 [0xffffffffffffffa8])
                    (symbol_ref:DI ("tunable_list") [flags 0x2]  <var_decl
0x7f7d6f7b1cf0 tunable_list>))
                (nil)))))

into

insn 370 325 371 2 (set (reg:DI 0 ax [261])
        (const_int -88 [0xffffffffffffffa8])) "dl-tunables.c":264:15 76
{*movdi_internal}
     (expr_list:REG_EQUIV (const_int -88 [0xffffffffffffffa8])
        (nil)))
(insn 371 370 966 2 (parallel [
            (set (reg:DI 0 ax [261])
                (minus:DI (reg:DI 0 ax [261])
                    (mem/u/c:DI (symbol_ref/u:DI ("*.LC2") [flags 0x2]) [0  S8
A64])))
            (clobber (reg:CC 17 flags))
        ]) "dl-tunables.c":264:15 299 {*subdi_1}
     (expr_list:REG_EQUIV (minus:DI (const_int -88 [0xffffffffffffffa8])
            (symbol_ref:DI ("tunable_list") [flags 0x2]  <var_decl
0x7f7d6f7b1cf0 tunable_list>))
        (nil)))

(symbol_ref/u:DI ("*.LC2") [flags 0x2]) requires run-time relocation.

Reply via email to