[Bug rtl-optimization/85645] ICE in maybe_record_trace_start, at dwarf2cfi.c:2348

segher at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri May 4 11:21:00 GMT 2018


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

--- Comment #6 from Segher Boessenkool <segher at gcc dot gnu.org> ---
It goes wrong in cprop_hardreg, which replaces

insn/f 482 43 483 5 (set (reg:SI 25 25)
        (reg:SI 65 lr)) 502 {*movsi_internal1}
     (expr_list:REG_DEAD (reg:SI 65 lr)
        (expr_list:REG_CFA_REGISTER (nil)
            (nil))))

by

(insn/f 482 43 483 5 (set (reg:SI 25 25)
        (reg:SI 27 27 [65])) 502 {*movsi_internal1}
     (expr_list:REG_DEAD (reg:SI 65 lr)
        (expr_list:REG_CFA_REGISTER (nil)
            (nil))))


More information about the Gcc-bugs mailing list