This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[AArch64/GCC][3/N] Remove useless local variable "start_offset"
- From: Jiong Wang <jiong dot wang at arm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 22 Jul 2014 15:49:28 +0100
- Subject: [AArch64/GCC][3/N] Remove useless local variable "start_offset"
- Authentication-results: sourceware.org; auth=none
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 <jiong.wang@arm.com>
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 <jiong.wang@arm.com>
Marcus Shawcroft <marcus.shawcroft@arm.com>
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