EGCS-19990314, undefined local symbol with a __label__

Richard Earnshaw rearnsha@arm.com
Mon Mar 22 05:19:00 GMT 1999


rth@cygnus.com said:
> Reload threw away the REG_LABEL. 
>
> Wasn't there a pending patch to reconstitute REG_LABELs?  Or is that
> already in and this needs something more?

Er, wasn't it combine?  or is reload expected to recreate these?

--- .combine:
(note 13 23 15 "" NOTE_INSN_DELETED)

(insn 15 13 16 (set (reg:SI 0 r0)
        (mem/u:SI (symbol_ref/u:SI ("*LC0")) 0)) 176 {*movsi_insn} (nil)
    (expr_list:REG_EQUAL (label_ref:SI 17)
        (nil)))


> --- .flow (insn 13 23 15 (set (reg:SI 32)
>         (mem/u:SI (symbol_ref/u:SI ("*.LC0")) 0)) 176 {*movsi_insn}
> (nil)
>     (expr_list:REG_LABEL (code_label 17 22 24 3 ("here"))
>         (expr_list:REG_EQUAL (label_ref:SI 17)
>             (nil))))

> (insn 15 13 16 (set (reg:SI 0 r0)
>         (reg:SI 32)) 176 {*movsi_insn} (insn_list 13 (nil))
>     (expr_list:REG_DEAD (reg:SI 32)
>         (expr_list:REG_EQUAL (label_ref:SI 17)
>             (nil))))






More information about the Gcc-bugs mailing list