From: Richard Stallman Date: Wed, 26 May 1993 03:45:01 +0000 (+0000) Subject: (dbxout_block) [DBX_BLOCKS_FUNCTION_RELATIVE]: X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ce343979900ac33bb1f93b3bdfbf1b184ba30a6a;p=gcc.git (dbxout_block) [DBX_BLOCKS_FUNCTION_RELATIVE]: Get function name from DECL_RTL not from DECL_ASSEMBLER_NAME. From-SVN: r4567 --- diff --git a/gcc/dbxout.c b/gcc/dbxout.c index a2c78c4f0af..b55b7987ca8 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -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