Commit 28233641 by Jim Wilson Committed by Jim Wilson

Fix stabs debug info bug reported by Stu Grossman.

	* varasm.c (make_decl_rtl): Disable April 1 change.

From-SVN: r19673
parent a4d95b97
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> Mon May 11 09:14:41 1998 Richard Henderson <rth@cygnus.com>
* configure.in (alpha-*-linux-gnu): Undo lossage from gcc2 merge. * configure.in (alpha-*-linux-gnu): Undo lossage from gcc2 merge.
......
...@@ -742,11 +742,15 @@ make_decl_rtl (decl, asmspec, top_level) ...@@ -742,11 +742,15 @@ make_decl_rtl (decl, asmspec, top_level)
name = obstack_copy0 (saveable_obstack, label, strlen (label)); name = obstack_copy0 (saveable_obstack, label, strlen (label));
var_labelno++; 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 /* We've changed the name by which this entity is
known. In order that we can generate known. In order that we can generate
correct references to it, we update its correct references to it, we update its
DECL_ASSEMBLER_NAME. */ DECL_ASSEMBLER_NAME. */
DECL_ASSEMBLER_NAME (decl) = get_identifier (name); DECL_ASSEMBLER_NAME (decl) = get_identifier (name);
#endif
} }
if (name == 0) if (name == 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment