This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH][AARCH64]Remove unused variable and marco


Hi all,

This is a simple patch to remove unused variables and marco.
Is it Okay to commit?

gcc/ChangeLog:

2014-10-13  Renlin Li  <Renlin.Li@arm.com>

    * config/aarch64/aarch64.h (ARM_DEFAULT_PCS, arm_pcs_variant): Delete.

Regards,
Renlin Li
From 88b6dc7fccf70c140070fbc5472d9bc1a8590754 Mon Sep 17 00:00:00 2001
From: Renlin Li <renlin.li@arm.com>
Date: Mon, 13 Oct 2014 09:30:57 +0100
Subject: [PATCH 2/6] remove unused ARM_DEFAULT_PCS marco and arm_pcs_variant

---
 gcc/config/aarch64/aarch64.h |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h
index 73b68ee..77f4511 100644
--- a/gcc/config/aarch64/aarch64.h
+++ b/gcc/config/aarch64/aarch64.h
@@ -578,11 +578,7 @@ enum arm_pcs
 };
 
 
-extern enum arm_pcs arm_pcs_variant;
 
-#ifndef ARM_DEFAULT_PCS
-#define ARM_DEFAULT_PCS ARM_PCS_AAPCS64
-#endif
 
 /* We can't use enum machine_mode inside a generator file because it
    hasn't been created yet; we shouldn't be using any code that
-- 
1.7.9.5

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]