From ce343979900ac33bb1f93b3bdfbf1b184ba30a6a Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Wed, 26 May 1993 03:45:01 +0000 Subject: [PATCH] (dbxout_block) [DBX_BLOCKS_FUNCTION_RELATIVE]: Get function name from DECL_RTL not from DECL_ASSEMBLER_NAME. From-SVN: r4567 --- gcc/dbxout.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2