diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-11-13 02:07:57 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-11-13 02:07:57 +0000 |
commit | 681a883fd583ee9ddaff6ebeac1bd59bf75b9b25 (patch) | |
tree | 1dfb694a6a20bcea1203ad2a8b503169f1bb675b /gcc/varasm.c | |
parent | 006dfee4126ccdb6b0340948f6a04c3089ae6634 (diff) | |
download | gcc-681a883fd583ee9ddaff6ebeac1bd59bf75b9b25.tar.gz |
PR opt/12275
* c-decl.c (finish_decl): Use change_decl_assembler_name.
* c-pragma.c (handle_pragma_redefine_extname): Likewise.
* varasm.c (make_decl_rtl): Likewise.
* cgraph.c (change_decl_assembler_name): New function.
* tree.h (set_decl_assembler_name): Kill dead declaration.
(change_decl_assembler_name): Declare.
* decl.c (make_rtl_for_nonlocal_decl): Use change_decl_assembler_name.
* decl2.c (make_rtl_for_nonlocal_decl): Use change_decl_assembler_name.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73532 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r-- | gcc/varasm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c index 9ee145db387..7f5ee565f51 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -791,7 +791,7 @@ make_decl_rtl (tree decl, const char *asmspec) char *starred = alloca (strlen (asmspec) + 2); starred[0] = '*'; strcpy (starred + 1, asmspec); - SET_DECL_ASSEMBLER_NAME (decl, get_identifier (starred)); + change_decl_assembler_name (decl, get_identifier (starred)); } name = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl)); |