From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1962 invoked by alias); 13 May 2011 09:34:29 -0000 Received: (qmail 1887 invoked by uid 22791); 13 May 2011 09:34:27 -0000 X-SWARE-Spam-Status: No, hits=-6.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 13 May 2011 09:34:09 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p4D9Y9Uj008548 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 13 May 2011 05:34:09 -0400 Received: from Gift.redhat.com (vpn1-7-77.ams2.redhat.com [10.36.7.77]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p4D9Y6Un019377 for ; Fri, 13 May 2011 05:34:08 -0400 From: Nick Clifton To: gcc-patches@gcc.gnu.org Subject: RX: Fix thinkos in previous tidy up Date: Fri, 13 May 2011 11:31:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes 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 X-SW-Source: 2011-05/txt/msg00954.txt.bz2 Hi Guys, When I applied my RX tidy up patch yesterday I forgot to rebuild the toolchain and thus missed a couple of thinkos with my rename of the rx_legitimate_constant_p function. I therefore applying the patch below to fix this problem. Cheers Nick gcc/ChangeLog 2011-05-13 Nick Clifton * config/rx/rx.md (mov expander): Fix use of rx_legitimate_constant_p. * config/rx/rx-protos.h (rx_legitimate_constant_p): Rename prototype. Index: gcc/config/rx/rx-protos.h =================================================================== --- gcc/config/rx/rx-protos.h (revision 173723) +++ gcc/config/rx/rx-protos.h (working copy) @@ -31,7 +31,7 @@ extern void rx_emit_stack_pushm (rtx *); extern void rx_expand_epilogue (bool); extern char * rx_gen_move_template (rtx *, bool); -extern bool rx_legitimate_constant_p (enum machine_mode, rtx); +extern bool rx_is_legitimate_constant (enum machine_mode, rtx); extern bool rx_is_restricted_memory_address (rtx, enum machine_mode); extern bool rx_match_ccmode (rtx, enum machine_mode); Index: gcc/config/rx/rx.md =================================================================== --- gcc/config/rx/rx.md (revision 173723) +++ gcc/config/rx/rx.md (working copy) @@ -556,7 +556,7 @@ if (MEM_P (operand0) && MEM_P (operand1)) operands[1] = copy_to_mode_reg (mode, operand1); if (CONST_INT_P (operand1) - && ! rx_legitimate_constant_p (mode, operand1)) + && ! rx_is_legitimate_constant (mode, operand1)) FAIL; } )