From 28233641fc41822a1e5134c5b297d4ceb20bca50 Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Mon, 11 May 1998 13:31:35 +0000 Subject: Fix stabs debug info bug reported by Stu Grossman. * varasm.c (make_decl_rtl): Disable April 1 change. From-SVN: r19673 --- gcc/varasm.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gcc/varasm.c') 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) -- cgit v1.1