OSDN Git Service

(dbxout_block) [DBX_BLOCKS_FUNCTION_RELATIVE]:
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 26 May 1993 03:45:01 +0000 (03:45 +0000)
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 26 May 1993 03:45:01 +0000 (03:45 +0000)
Get function name from DECL_RTL not from DECL_ASSEMBLER_NAME.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4567 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/dbxout.c

index a2c78c4..b55b798 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