(dbxout_block) [DBX_BLOCKS_FUNCTION_RELATIVE]:
authorRichard Stallman <rms@gnu.org>
Wed, 26 May 1993 03:45:01 +0000 (03:45 +0000)
committerRichard Stallman <rms@gnu.org>
Wed, 26 May 1993 03:45:01 +0000 (03:45 +0000)
Get function name from DECL_RTL not from DECL_ASSEMBLER_NAME.

From-SVN: r4567

gcc/dbxout.c

index a2c78c4f0afd740013f610f4a7295215b5bef1f1..b55b7987ca8f1f517925826033da098ee01f14d9 100644 (file)
@@ -2348,7 +2348,7 @@ dbxout_block (block, depth, args)
              assemble_name (asmfile, buf);
 #if DBX_BLOCKS_FUNCTION_RELATIVE
              fputc ('-', asmfile);
-             assemble_name (asmfile, IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (current_function_decl)));
+             assemble_name (asmfile, XSTR (XEXP (DECL_RTL (current_function_decl), 0), 0));
 #endif
              fprintf (asmfile, "\n");
 #endif
@@ -2381,7 +2381,7 @@ dbxout_block (block, depth, args)
              assemble_name (asmfile, buf);
 #if DBX_BLOCKS_FUNCTION_RELATIVE
              fputc ('-', asmfile);
-             assemble_name (asmfile, IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (current_function_decl)));
+             assemble_name (asmfile, XSTR (XEXP (DECL_RTL (current_function_decl), 0), 0));
 #endif
              fprintf (asmfile, "\n");
 #endif