From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26950 invoked by alias); 24 Nov 2007 21:58:24 -0000 Received: (qmail 26918 invoked by alias); 24 Nov 2007 21:58:18 -0000 Date: Sat, 24 Nov 2007 21:58:00 -0000 Message-ID: <20071124215818.26917.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: "dave at hiauly1 dot hia dot nrc dot ca" 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/msg02341.txt.bz2 ------- Comment #12 from dave at hiauly1 dot hia dot nrc dot ca 2007-11-24 21:58 ------- Subject: Re: [4.2 Regression] ICE in delete_output_reload, at reload1.c:7926 This seems to help: Index: reload1.c =================================================================== --- reload1.c (revision 130392) +++ reload1.c (working copy) @@ -7929,8 +7929,8 @@ NULL_RTX), 0); for (i1 = reg_equiv_alt_mem_list [REGNO (reg)]; i1; i1 = XEXP (i1, 1)) { - gcc_assert (!rtx_equal_p (XEXP (i1, 0), substed)); - n_occurrences += count_occurrences (PATTERN (insn), XEXP (i1, 0), 0); + if (!rtx_equal_p (XEXP (i1, 0), substed)) + n_occurrences += count_occurrences (PATTERN (insn), XEXP (i1, 0), 0); } if (n_occurrences > n_inherited) return; Dave -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32889