From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5841 invoked by alias); 10 May 2003 02:15:33 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 5686 invoked from network); 10 May 2003 02:15:31 -0000 Received: from unknown (HELO hiauly1.hia.nrc.ca) (132.246.100.193) by sources.redhat.com with SMTP; 10 May 2003 02:15:31 -0000 Received: from hiauly1.hia.nrc.ca (hiauly1.hia.nrc.ca [127.0.0.1] (may be forged)) by hiauly1.hia.nrc.ca (8.12.9/8.12.9) with ESMTP id h4A2FUkU022239; Fri, 9 May 2003 22:15:30 -0400 (EDT) Received: (from dave@localhost) by hiauly1.hia.nrc.ca (8.12.9/8.12.9/Submit) id h4A2FTga022238; Fri, 9 May 2003 22:15:29 -0400 (EDT) Message-Id: <200305100215.h4A2FTga022238@hiauly1.hia.nrc.ca> Subject: Re: [PATCH] allow zero_extract combines - checked in To: dave@hiauly1.hia.nrc.ca (John David Anglin) Date: Sat, 10 May 2003 02:15:00 -0000 From: "John David Anglin" Cc: echristo@redhat.com, gcc-patches@gcc.gnu.org In-Reply-To: from "John David Anglin" at May 9, 2003 04:41:48 pm MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2003-05/txt/msg00843.txt.bz2 > After combine, we have > > (insn 6 5 7 0 0000000000000000 (set (reg:SI 69) > (mem/s:SI (plus:DI (reg/f:DI 29 %r29) > (const_int -64 [0xffffffffffffffc0])) [0+0 S4 A32])) 70 {*pa.md:2251} (nil) > (nil)) > > (note 7 6 8 0 NOTE_INSN_DELETED) > > (insn 8 7 9 0 0000000000000000 (set (mem/s:SI (plus:DI (reg/f:DI 29 %r29) > (const_int -64 [0xffffffffffffffc0])) [0+0 S4 A32]) > (subreg:SI (reg:DI 68 [ u ]) 4)) 70 {*pa.md:2251} (insn_list 5 (nil)) > (expr_list:REG_DEAD (reg:DI 68 [ u ]) > (expr_list:REG_DEAD (reg/f:DI 29 %r29) > (nil)))) > > There isn't a REG_DEAD note for reg:SI 69 any longer. This causes > find_free_reg to fail because dead_index for this QTYNO is -1: Actually, it seems insn 6 should have been deleted as there is no other use of reg:SI 69. Dave -- J. David Anglin dave.anglin@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602)