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]

Re: [PATCH PR target/65058] AIX: missing extern decorations "[DS]" for functions and "[RW]" for variables


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


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