[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug middle-end/32889] [4.2 Regression] ICE in delete_output_reload, at reload1.c:7926




------- Comment #11 from danglin at gcc dot gnu dot org  2007-11-11 23:28 -------
When delete_output_reload is called, we have:

(gdb) p debug_rtx (insn)
(insn 86 91 89 7 (set (mem/c:SI (plus:SI (reg/f:SI 3 %r3)
                (const_int 17900 [0x45ec])) [20 S4 A32])
        (plus:SI (reg/f:SI 3 %r3)
            (const_int 1068 [0x42c]))) 114 {addsi3} (nil)
    (expr_list:REG_EQUIV (plus:SI (reg/f:SI 3 %r3)
            (const_int 1068 [0x42c]))
        (nil)))

(gdb) p debug_rtx (reg_equiv_memory_loc[209])
(mem/c:SI (plus:SI (reg/f:SI 3 %r3)
        (const_int 17900 [0x45ec])) [20 S4 A32])
$20 = void
(gdb) p debug_rtx (reg_equiv_alt_mem_list[209])
(expr_list:REG_EQUIV (mem/c:SI (plus:SI (reg/f:SI 3 %r3)
            (const_int 17900 [0x45ec])) [20 S4 A32])
    (nil))

reg_equiv_memory_loc[209] is assigned to substed.  So, either the
substitution is wrong or reg_equiv_alt_mem_list[209] incorrectly
contains the substituted value.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32889

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



Reply to: