This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/32889] [4.2 Regression] ICE in delete_output_reload, at reload1.c:7926
- From: "danglin at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Nov 2007 23:28:10 -0000
- Subject: [Bug middle-end/32889] [4.2 Regression] ICE in delete_output_reload, at reload1.c:7926
- References: <bug-32889-10464@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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