public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Renlin Li <renlin.li@arm.com>
To: "gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org>
Cc: Marcus Shawcroft <Marcus.Shawcroft@arm.com>,
	 ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
Subject: [PATCH][AARCH64]Remove unused variable and marco
Date: Mon, 13 Oct 2014 14:34:00 -0000	[thread overview]
Message-ID: <543BDFD9.7040400@arm.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 260 bytes --]

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0002-remove-unused-ARM_DEFAULT_PCS-marco-and-arm_pcs_vari.patch --]
[-- Type: text/x-patch;  name=0002-remove-unused-ARM_DEFAULT_PCS-marco-and-arm_pcs_vari.patch, Size: 807 bytes --]

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

             reply	other threads:[~2014-10-13 14:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-13 14:34 Renlin Li [this message]
2014-10-15 10:21 ` Richard Earnshaw

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=543BDFD9.7040400@arm.com \
    --to=renlin.li@arm.com \
    --cc=Marcus.Shawcroft@arm.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=ramana.radhakrishnan@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).