From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10364 invoked by alias); 11 Nov 2007 23:28:21 -0000 Received: (qmail 10314 invoked by uid 48); 11 Nov 2007 23:28:10 -0000 Date: Sun, 11 Nov 2007 23:28:00 -0000 Message-ID: <20071111232810.10313.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/32889] [4.2 Regression] ICE in delete_output_reload, at reload1.c:7926 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "danglin at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-11/txt/msg01018.txt.bz2 ------- 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