aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-05-26 03:45:01 +0000
committerRichard Stallman <rms@gnu.org>1993-05-26 03:45:01 +0000
commitce343979900ac33bb1f93b3bdfbf1b184ba30a6a (patch)
tree46fc74b027542fcc87297ec80078e231cfc09609 /gcc
parent808043edb14691234a4ad54b448dbbdc2ce4b1ea (diff)
downloadgcc-ce343979900ac33bb1f93b3bdfbf1b184ba30a6a.zip
gcc-ce343979900ac33bb1f93b3bdfbf1b184ba30a6a.tar.gz
gcc-ce343979900ac33bb1f93b3bdfbf1b184ba30a6a.tar.bz2
(dbxout_block) [DBX_BLOCKS_FUNCTION_RELATIVE]:
Get function name from DECL_RTL not from DECL_ASSEMBLER_NAME. From-SVN: r4567
Diffstat (limited to 'gcc')
-rw-r--r--gcc/dbxout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index a2c78c4..b55b798 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