>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(-)
@@ -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