From patchwork Tue Jul 22 14:49:28 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiong Wang X-Patchwork-Id: 372489 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 10C4A1400B9 for ; Wed, 23 Jul 2014 00:49:55 +1000 (EST) 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; q= dns; s=default; b=jCBSvUGa6UmqZbeU3k1K2kQgd1Ih3VI3hhRWm26RHZ18oB xAPZCxogzFsahrqDdyI4jYiBAV6ZImGinNEKC2jHr+HImw3EtBPD1QpDTnr3VUV/ 36rj9iehO5M2pE0faoG8+CPIWUnw9DUl3DjEMYZl6L/XkG5TbxLzlpMiphfUY= 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; s= default; bh=sWnatSk1OT1re67FQeLWGz1YuF4=; b=g3daTYUcsA1k2+NGe3L4 0AlTggk7QeWi1B4OTqfTtJe+caqpWojb+W8cgNnh+RnC9WIVDU5tCzXy62hLJWKX G2mgK4NHtLis2B0Sdo6lgT8b7473l7yFYtG/pIocIWFpOmprCi8QqCbfFhz0Vuu1 06/P6WNlh1MsWqJvnF+MiIU= Received: (qmail 21715 invoked by alias); 22 Jul 2014 14:49:40 -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 21614 invoked by uid 89); 22 Jul 2014 14:49:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: service87.mimecast.com Received: from service87.mimecast.com (HELO service87.mimecast.com) (91.220.42.44) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 22 Jul 2014 14:49:31 +0000 Received: from cam-owa1.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Tue, 22 Jul 2014 15:49:29 +0100 Received: from [10.1.205.157] ([10.1.255.212]) by cam-owa1.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 22 Jul 2014 15:49:28 +0100 Message-ID: <53CE79F8.2050801@arm.com> Date: Tue, 22 Jul 2014 15:49:28 +0100 From: Jiong Wang User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 MIME-Version: 1.0 To: gcc-patches@gcc.gnu.org Subject: [AArch64/GCC][3/N] Remove useless local variable "start_offset" X-MC-Unique: 114072215492906601 X-IsSubscribed: yes This patch remove the useless local variable start_offset. *no functional change* OK to install? thanks. gcc/ * config/aarch64/aarch64.c (aarch64_save_or_restore_callee_save_registers): Rename 'offset' to 'start_offset'. Remove local variable 'start_offset'. >From 5aa00d14362096436069092b4644d184dc4f2958 Mon Sep 17 00:00:00 2001 From: Jiong Wang Date: Tue, 17 Jun 2014 21:36:48 +0100 Subject: [PATCH 03/19] [AArch64/GCC][3/20] Remove useless local variable "start_offset" This patch remove the useless local variable start_offset. * no functional change * 2014-06-16 Jiong Wang Marcus Shawcroft gcc/ * config/aarch64/aarch64.c (aarch64_save_or_restore_callee_save_registers): Rename 'offset' to 'start_offset', remove local variable 'start_offset'. --- gcc/config/aarch64/aarch64.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c index a60b11b..bd43736 100644 --- a/gcc/config/aarch64/aarch64.c +++ b/gcc/config/aarch64/aarch64.c @@ -1994,12 +1994,11 @@ aarch64_save_or_restore_fprs (HOST_WIDE_INT start_offset, int increment, /* offset from the stack pointer of where the saves and restore's have to happen. */ static void -aarch64_save_or_restore_callee_save_registers (HOST_WIDE_INT offset, +aarch64_save_or_restore_callee_save_registers (HOST_WIDE_INT start_offset, bool restore) { rtx insn; rtx base_rtx = stack_pointer_rtx; - HOST_WIDE_INT start_offset = offset; HOST_WIDE_INT increment = UNITS_PER_WORD; rtx (*gen_mem_ref) (enum machine_mode, rtx) = (frame_pointer_needed ? gen_frame_mem : gen_rtx_MEM); -- 1.7.9.5