This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH PR target/65058] AIX: missing extern decorations "[DS]" for functions and "[RW]" for variables
- From: Michael Haubenwallner <michael dot haubenwallner at ssi-schaefer dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: David Edelsohn <dje dot gcc at gmail dot com>
- Date: Tue, 24 Feb 2015 22:13:05 +0100
- Subject: Re: [PATCH PR target/65058] AIX: missing extern decorations "[DS]" for functions and "[RW]" for variables
- Authentication-results: sourceware.org; auth=none
- References: <54DE7467 dot 3060901 at ssi-schaefer dot com>
Am 2015-02-13 um 23:02 schrieb Michael Haubenwallner:
> Hi David,
>
> this is the patch I'm currently testing with gcc-4.8.4 for
> http://gcc.gnu.org/PR65058
There's one unused variable now - obvious patch committed.
/haubi/
>From bfea87e3e9e84c995a3b678a4c234cd0187a41fe Mon Sep 17 00:00:00 2001
From: haubi <haubi@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Tue, 24 Feb 2015 20:19:54 +0000
Subject: [PATCH] PR target/65058: Drop unused variable.
PR target/65058
* config/rs6000/xcoff.h (ASM_OUTPUT_EXTERNAL): Drop unused variable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@220947 138bc75d-0d04-0410-961f-82ee72b054a4
---
gcc/ChangeLog | 5 +++++
gcc/config/rs6000/xcoff.h | 1 -
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6941bce..f71deca 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2015-02-24 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
+
+ PR target/65058
+ * config/rs6000/xcoff.h (ASM_OUTPUT_EXTERNAL): Drop unused variable.
+
2015-02-24 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/65123
diff --git a/gcc/config/rs6000/xcoff.h b/gcc/config/rs6000/xcoff.h
index db024fc..152320b 100644
--- a/gcc/config/rs6000/xcoff.h
+++ b/gcc/config/rs6000/xcoff.h
@@ -155,7 +155,6 @@
#define ASM_OUTPUT_EXTERNAL(FILE, DECL, NAME) \
{ char *buffer = (char *) alloca (strlen (NAME) + 1); \
char *p; \
- rtx _symref = XEXP (DECL_RTL (DECL), 0); \
int dollar_inside = 0; \
strcpy (buffer, NAME); \
p = strchr (buffer, '$'); \
--
2.0.5