From patchwork Fri Feb 27 21:52:40 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kugan Vivekanandarajah X-Patchwork-Id: 45268 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-we0-f197.google.com (mail-we0-f197.google.com [74.125.82.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6116D204BC for ; Fri, 27 Feb 2015 21:53:13 +0000 (UTC) Received: by wesw55 with SMTP id w55sf16155426wes.0 for ; Fri, 27 Feb 2015 13:53:12 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:mailing-list:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:sender :delivered-to:message-id:date:from:user-agent:mime-version:to :subject:content-type:x-original-sender :x-original-authentication-results; bh=oAREsIWCUJEaIitkT9xR6dqjGAamqMezv4AhbWKH1pk=; b=ECurSm3rCxiZl8qS4+h1J9z0e0sVDtk90KEfSZcRc7hCslfX4rben1pS9k4jUNF8A9 XzqOHuw227ydhPCAi6+9+q9TO/XDEChirP3XNXWiEkWj8dcThGFoSSDIWI4+gL5zQx/f qAP5+lxu5+oT9KKbHMunMryjZgymfXUnUUI9qKwSeU9y8jJYWajHzYJHdydBLlX/o1jC jw50+aYpGZ6QmMEWVe0vnWRX126nsPlfMzl6hGDuqylHrlvh2yhHYGI80MkI0ijrbfGI GGaGk9tSYLij/d1n2xk9QgT7tt8xkVT2Cwxzng6H9Hy+VzuLxeZDh/t9O0HrWJl39g4F JF2A== X-Gm-Message-State: ALoCoQm7Lo+fwmeQ5wm9BtJQckLYzoXr9WcqcV6h8hO58T78NiLYwKD6i87sFT0oWPpjGnGAmnjw X-Received: by 10.180.160.176 with SMTP id xl16mr784043wib.6.1425073992677; Fri, 27 Feb 2015 13:53:12 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.197.97 with SMTP id it1ls103548lac.1.gmail; Fri, 27 Feb 2015 13:53:12 -0800 (PST) X-Received: by 10.112.53.137 with SMTP id b9mr14750724lbp.66.1425073992515; Fri, 27 Feb 2015 13:53:12 -0800 (PST) Received: from mail-la0-x232.google.com (mail-la0-x232.google.com. [2a00:1450:4010:c03::232]) by mx.google.com with ESMTPS id c7si3753312lah.173.2015.02.27.13.53.12 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Feb 2015 13:53:12 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c03::232 as permitted sender) client-ip=2a00:1450:4010:c03::232; Received: by labhv19 with SMTP id hv19so20062711lab.10 for ; Fri, 27 Feb 2015 13:53:12 -0800 (PST) X-Received: by 10.152.88.4 with SMTP id bc4mr14681447lab.86.1425073992210; Fri, 27 Feb 2015 13:53:12 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.35.133 with SMTP id h5csp4176940lbj; Fri, 27 Feb 2015 13:53:11 -0800 (PST) X-Received: by 10.70.134.236 with SMTP id pn12mr9905716pdb.116.1425073990283; Fri, 27 Feb 2015 13:53:10 -0800 (PST) Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id be5si5376687pbb.171.2015.02.27.13.53.09 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Feb 2015 13:53:10 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-return-392727-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Received: (qmail 16293 invoked by alias); 27 Feb 2015 21:52:55 -0000 Mailing-List: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org Precedence: list 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 16274 invoked by uid 89); 27 Feb 2015 21:52:54 -0000 X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pd0-f169.google.com Received: from mail-pd0-f169.google.com (HELO mail-pd0-f169.google.com) (209.85.192.169) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 27 Feb 2015 21:52:53 +0000 Received: by pdjg10 with SMTP id g10so24001767pdj.1 for ; Fri, 27 Feb 2015 13:52:51 -0800 (PST) X-Received: by 10.68.253.104 with SMTP id zz8mr17749181pbc.73.1425073971339; Fri, 27 Feb 2015 13:52:51 -0800 (PST) Received: from [10.1.1.6] (58-6-183-210.dyn.iinet.net.au. [58.6.183.210]) by mx.google.com with ESMTPSA id ak7sm4888750pad.47.2015.02.27.13.52.49 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 27 Feb 2015 13:52:50 -0800 (PST) Message-ID: <54F0E728.80901@linaro.org> Date: Sat, 28 Feb 2015 08:52:40 +1100 From: Kugan User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: "gcc-patches@gcc.gnu.org" , vmakarov@redhat.com Subject: Fix typo in ira-costs.c X-IsSubscribed: yes X-Original-Sender: kugan.vivekanandarajah@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c03::232 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=pass header.i=@gcc.gnu.org X-Google-Group-Id: 836684582541 Looks like a typo to me. Bootstrapped and regression tested on x86_64-unknown-linux-gnu with no new regressions. Is this OK for stage1? Thanks, Kugan gcc/ChangeLog: 2015-02-28 Kugan Vivekanandarajah * ira-costs.c (record_operand_costs): Fix typo (remove redundant code). diff --git a/gcc/ira-costs.c b/gcc/ira-costs.c index c19f258..1ca156e 100644 --- a/gcc/ira-costs.c +++ b/gcc/ira-costs.c @@ -1387,8 +1387,6 @@ record_operand_costs (rtx_insn *insn, enum reg_class *pref) rtx dest = SET_DEST (set); rtx src = SET_SRC (set); - dest = SET_DEST (set); - src = SET_SRC (set); if (GET_CODE (dest) == SUBREG && (GET_MODE_SIZE (GET_MODE (dest)) == GET_MODE_SIZE (GET_MODE (SUBREG_REG (dest)))))