From patchwork Fri Feb 6 19:42:06 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Makarov X-Patchwork-Id: 437443 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]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id B2D6D140083 for ; Sat, 7 Feb 2015 06:42:44 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:subject:content-type :content-transfer-encoding; q=dns; s=default; b=OXGgCKdc5Ai2prVg uBs8097/jKFR6bb3evPlwkuHB0Xjuax8nEnG+qfgfgiC8tS7kXzklu1Z9FRYOcZk wIFGLYk4WAL+A7vzpDWrvgNM5zgLaS2y3vbuJOranexxLLux3VLh8twVbtEzNkWr IvZa++PKmfk6fQA5zMT7T8hkUeU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:subject:content-type :content-transfer-encoding; s=default; bh=+LE7ag1F7dwFlaepBOOGIZ DhlDU=; b=nJ9alAxFuoq8h64sLsXDOfBWeReg9asXpufpYwrqFb8BmSi1/k+5be EpYOD4Oq1kcbrmEPwotzaEltS054NOGgNmsyHDRJxHZHvb30t6jPrTKvihbc0BKY lQq8NOjt7hygkw0GHtOsf/JrfsINoW9aUADaHpY52EMZ/2VpIIqGM= Received: (qmail 26652 invoked by alias); 6 Feb 2015 19:42:10 -0000 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 Received: (qmail 26631 invoked by uid 89); 6 Feb 2015 19:42:09 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.7 required=5.0 tests=AWL, BAYES_00, SPF_HELO_PASS, SPF_PASS, T_RP_MATCHES_RCVD 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; Fri, 06 Feb 2015 19:42: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 t16Jg76I027930 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Fri, 6 Feb 2015 14:42:07 -0500 Received: from Vladimirs-MacBook-Pro.local (vpn-62-242.rdu2.redhat.com [10.10.62.242]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t16Jg6Dk001278 for ; Fri, 6 Feb 2015 14:42:07 -0500 Message-ID: <54D5190E.6070605@redhat.com> Date: Fri, 06 Feb 2015 14:42:06 -0500 From: Vladimir Makarov User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: "gcc-patches@gcc.gnu.org" Subject: patch fixing a typo in LRA X-IsSubscribed: yes The following patch fixes a typo discovered recently: https://gcc.gnu.org/ml/gcc/2015-02/msg00040.html The patch was bootstrapped and tested on x86/x86-64. Committed as rev.220488. 2015-02-06 Vladimir Makarov * lra.c (lra_emit_add): Fix a typo in using disp instead of base. Index: lra.c =================================================================== --- lra.c (revision 220482) +++ lra.c (working copy) @@ -475,7 +475,7 @@ lra_emit_add (rtx x, rtx y, rtx z) rtx insn = emit_add2_insn (x, disp); if (insn != NULL_RTX) { - insn = emit_add2_insn (x, disp); + insn = emit_add2_insn (x, base); if (insn != NULL_RTX) ok_p = true; }