summaryrefslogtreecommitdiffstats
path: root/gcc/varasm.c
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 /gcc/varasm.c
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
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r--gcc/varasm.c4
1 files changed, 4 insertions, 0 deletions
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