summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1998-05-11 13:31:35 +0000
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1998-05-11 13:31:35 +0000
commitc299f6ed912559b87d52a015d11e0144808c35dd (patch)
treeaf0b3e7797e358a023fae4a6c5437ec1efa7e804
parent97cfb93ce55a7d43c3ee56834dcfed859ab31481 (diff)
downloadppe42-gcc-c299f6ed912559b87d52a015d11e0144808c35dd.tar.gz
ppe42-gcc-c299f6ed912559b87d52a015d11e0144808c35dd.zip
Fix stabs debug info bug reported by Stu Grossman.
* varasm.c (make_decl_rtl): Disable April 1 change. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19673 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/varasm.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 92737afbd37..bc37d391687 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+Mon May 11 13:30:44 1998 Jim Wilson <wilson@cygnus.com>
+
+ * varasm.c (make_decl_rtl): Disable April 1 change.
+
Mon May 11 09:14:41 1998 Richard Henderson <rth@cygnus.com>
* configure.in (alpha-*-linux-gnu): Undo lossage from gcc2 merge.
diff --git a/gcc/varasm.c b/gcc/varasm.c
index ed24384755e..8bc7509e421 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -742,11 +742,15 @@ make_decl_rtl (decl, asmspec, top_level)
name = obstack_copy0 (saveable_obstack, label, strlen (label));
var_labelno++;
+#if 0
+ /* ??? This results in incorrect stabs debug info for static
+ local variables. */
/* We've changed the name by which this entity is
known. In order that we can generate
correct references to it, we update its
DECL_ASSEMBLER_NAME. */
DECL_ASSEMBLER_NAME (decl) = get_identifier (name);
+#endif
}
if (name == 0)
OpenPOWER on IntegriCloud