aboutsummaryrefslogtreecommitdiff
path: root/gcc
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
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')
-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 92737af..bc37d39 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 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)