From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26506 invoked by alias); 21 Aug 2014 09:40:58 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 26495 invoked by uid 89); 21 Aug 2014 09:40:57 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 21 Aug 2014 09:40:57 +0000 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s7L9etZ2020486 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 21 Aug 2014 05:40:55 -0400 Received: from [10.3.225.122] (vpn-225-122.phx2.redhat.com [10.3.225.122]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s7L9esEI004485; Thu, 21 Aug 2014 05:40:54 -0400 Message-ID: <1408613865.2473.165.camel@surprise> Subject: Re: [PATCH 043/236] peephole returns an rtx_insn From: David Malcolm To: Jeff Law Cc: gcc-patches@gcc.gnu.org Date: Thu, 21 Aug 2014 09:40:00 -0000 In-Reply-To: <53EBA93D.6050205@redhat.com> References: <1407345815-14551-1-git-send-email-dmalcolm@redhat.com> <1407345815-14551-44-git-send-email-dmalcolm@redhat.com> <53EBA93D.6050205@redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-08/txt/msg02100.txt.bz2 On Wed, 2014-08-13 at 12:06 -0600, Jeff Law wrote: > On 08/06/14 11:20, David Malcolm wrote: > > gcc/ > > * output.h (peephole): Strengthen return type from rtx to rtx_insn *. > > * rtl.h (delete_for_peephole): Likewise for both params. > > * genpeep.c (main): In generated "peephole" function, strengthen > > return type and local "insn" from rtx to rtx_insn *. For now, > > rename param "ins1" to "uncast_ins1", adding "ins1" back as an > > rtx_insn *, with a checked cast. > > * jump.c (delete_for_peephole): Strengthen params "from", "to" and > > locals "insn", "next", "prev" from rtx to rtx_insn *. > OK Thanks; committed to trunk as r214264.