From patchwork Mon Jul 5 09:20:26 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jie Zhang X-Patchwork-Id: 57882 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id BA666B6F1C for ; Mon, 5 Jul 2010 19:20:37 +1000 (EST) Received: (qmail 5608 invoked by alias); 5 Jul 2010 09:20:36 -0000 Received: (qmail 5599 invoked by uid 22791); 5 Jul 2010 09:20:35 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 05 Jul 2010 09:20:31 +0000 Received: (qmail 27249 invoked from network); 5 Jul 2010 09:20:29 -0000 Received: from unknown (HELO ?192.168.0.124?) (jie@127.0.0.2) by mail.codesourcery.com with ESMTPA; 5 Jul 2010 09:20:29 -0000 Message-ID: <4C31A3DA.6020202@codesourcery.com> Date: Mon, 05 Jul 2010 17:20:26 +0800 From: Jie Zhang User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.4) Gecko/20100608 Lightning/1.0b2 Thunderbird/3.1 MIME-Version: 1.0 To: gcc-patches@gcc.gnu.org CC: mikpe@it.uu.se Subject: [ARM, committed] Fix PR 44820 X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org One of my last changes caused a GCC bootstrap failure for ARM. Mikael reported it as PR 44820 and kindly attached a patch in the bugzilla. I have committed his patch under the obvious rule. The patch is also attached in this email. Mikael, thanks! gcc/ 2010-07-05 Mikael Pettersson PR bootstrap/44820 * config/arm/arm.c (arm_attr_length_move_neon): Delete regno. --- gcc-4.6-20100703/gcc/config/arm/arm.c.~1~ 2010-07-03 18:49:05.000000000 +0200 +++ gcc-4.6-20100703/gcc/config/arm/arm.c 2010-07-05 10:34:19.000000000 +0200 @@ -12865,7 +12865,7 @@ int arm_attr_length_move_neon (rtx insn) { rtx reg, mem, addr; - int regno, load; + int load; enum machine_mode mode; extract_insn_cached (insn); @@ -12894,7 +12894,6 @@ arm_attr_length_move_neon (rtx insn) gcc_assert (MEM_P (mem)); mode = GET_MODE (reg); - regno = REGNO (reg); addr = XEXP (mem, 0); /* Strip off const from addresses like (const (plus (...))). */