aboutsummaryrefslogtreecommitdiff
path: root/gcc/varasm.c
diff options
context:
space:
mode:
authorJim Wilson <wilson@cygnus.com>1998-05-11 13:31:35 +0000
committerJim Wilson <wilson@gcc.gnu.org>1998-05-11 06:31:35 -0700
commit28233641fc41822a1e5134c5b297d4ceb20bca50 (patch)
treeaf0b3e7797e358a023fae4a6c5437ec1efa7e804 /gcc/varasm.c
parenta4d95b976d1232b4ab338194c18900da083a4781 (diff)
downloadgcc-28233641fc41822a1e5134c5b297d4ceb20bca50.zip
gcc-28233641fc41822a1e5134c5b297d4ceb20bca50.tar.gz
gcc-28233641fc41822a1e5134c5b297d4ceb20bca50.tar.bz2
Fix stabs debug info bug reported by Stu Grossman.
* varasm.c (make_decl_rtl): Disable April 1 change. From-SVN: r19673
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 ed24384..8bc7509 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)