From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22773 invoked by alias); 1 Feb 2013 17:44:38 -0000 Received: (qmail 22620 invoked by uid 22791); 1 Feb 2013 17:44:35 -0000 X-SWARE-Spam-Status: No, hits=-0.2 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_SPAMHAUS_DROP,KHOP_THREADED,MEDICAL_SUBJECT,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from service87.mimecast.com (HELO service87.mimecast.com) (91.220.42.44) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 01 Feb 2013 17:44:26 +0000 Received: from cam-owa2.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Fri, 01 Feb 2013 17:43:01 +0000 Received: from e106375-lin.cambridge.arm.com ([10.1.255.212]) by cam-owa2.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 1 Feb 2013 17:43:01 +0000 From: James Greenhalgh To: gcc-patches@gcc.gnu.org Cc: marcus.shawcroft@arm.com Subject: [PATCH 6/6] [AArch64-4.7] Backport: Fix warning in aarch64.md Date: Fri, 01 Feb 2013 17:44:00 -0000 Message-Id: <1359740555-10179-7-git-send-email-james.greenhalgh@arm.com> In-Reply-To: <1359740555-10179-1-git-send-email-james.greenhalgh@arm.com> References: <1359740555-10179-1-git-send-email-james.greenhalgh@arm.com> MIME-Version: 1.0 X-MC-Unique: 113020117430111001 Content-Type: multipart/mixed; boundary="------------1.8.1.rc3.28.gcf793a4" 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: 2013-02/txt/msg00030.txt.bz2 This is a multi-part message in MIME format. --------------1.8.1.rc3.28.gcf793a4 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: quoted-printable Content-length: 538 Hi, This patch is a backport of one approved here: http://gcc.gnu.org/ml/gcc-patches/2012-12/msg01135.html The patch fixes the warning: config/aarch64/aarch64.md:840: warning: source missing a mode? Regression tested with no regressions on aarch64-none-elf. OK for aarch64-4.7-branch? Thanks, James --- gcc/ 2013-02-01 James Greenhalgh Backport from mainline. 2012-12-18 James Greenhalgh * config/aarch64/aarch64.md (insv_imm): Add modes for source operands. --------------1.8.1.rc3.28.gcf793a4 Content-Type: text/x-patch; name=0006-AArch64-4.7-Backport-Fix-warning-in-aarch64.md.patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0006-AArch64-4.7-Backport-Fix-warning-in-aarch64.md.patch" Content-length: 661 diff --git a/gcc/config/aarch64/aarch64.md b/gcc/config/aarch64/aarch64.md index 6f51469..9bb95e0 100644 --- a/gcc/config/aarch64/aarch64.md +++ b/gcc/config/aarch64/aarch64.md @@ -840,8 +840,8 @@ (define_insn "insv_imm" [(set (zero_extract:GPI (match_operand:GPI 0 "register_operand" "+r") (const_int 16) - (match_operand 1 "const_int_operand" "n")) - (match_operand 2 "const_int_operand" "n"))] + (match_operand:GPI 1 "const_int_operand" "n")) + (match_operand:GPI 2 "const_int_operand" "n"))] "INTVAL (operands[1]) < GET_MODE_BITSIZE (mode) && INTVAL (operands[1]) % 16 =3D=3D 0 && INTVAL (operands[2]) <=3D 0xffff"= --------------1.8.1.rc3.28.gcf793a4--