Fix stabs debug info bug reported by Stu Grossman.
authorJim Wilson <wilson@cygnus.com>
Mon, 11 May 1998 13:31:35 +0000 (13:31 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Mon, 11 May 1998 13:31:35 +0000 (06:31 -0700)
* varasm.c (make_decl_rtl): Disable April 1 change.

From-SVN: r19673

gcc/ChangeLog
gcc/varasm.c

index 92737afbd3710d9e9ad35d793c292e65cc28724d..bc37d391687dc5d4f911476b9d8f3cc53d695e0f 100644 (file)
@@ -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.
index ed24384755ee887dc96d1e95985e7bf147c22f68..8bc7509e42112a3018a3055e0a4f5af5725ce349 100644 (file)
@@ -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)