nvptx.c (nvptx_mangle_decl_assembler_name): New.
authorNathan Sidwell <nathan@acm.org>
Fri, 13 May 2016 15:51:24 +0000 (15:51 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 13 May 2016 15:51:24 +0000 (15:51 +0000)
commit72b1108c3e698b2699331ce18c46ac03b050191f
treeb5b93d36d6a6a4687b278abc1209d41c3b385839
parent541a9b104b6e842a81326f9d671b19b8ae69cd05
nvptx.c (nvptx_mangle_decl_assembler_name): New.

* config/nvptx/nvptx.c (nvptx_mangle_decl_assembler_name): New.
(nvptx_name_replacement): Delete.
(write_fn_proto, write_fn_proto_from_insn,
nvptx_output_call_insn): Remove nvptx_name_replacement call.
(TARGET_MANGLE_DECL_ASSEMBLER_NAME): Override.
* langhooks.c (add_builtin_funcction_common): Call
targetm.mangle_decl_assembler_name.

From-SVN: r236212
gcc/ChangeLog
gcc/config/nvptx/nvptx.c
gcc/langhooks.c