From: Thomas Schwinge <tho...@codesourcery.com> As of Subversion r231013 (Git commit 00e5241831c1227615a45b7bcba29c393671cb3f) "[PTX] Another libcall patch", only used 'nvptx_record_needed_fndecl' is locally.
gcc/ * config/nvptx/nvptx.cc (nvptx_record_needed_fndecl): Tag as 'static'. --- gcc/config/nvptx/nvptx.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/nvptx/nvptx.cc b/gcc/config/nvptx/nvptx.cc index af952a29796..64de2b1cc9b 100644 --- a/gcc/config/nvptx/nvptx.cc +++ b/gcc/config/nvptx/nvptx.cc @@ -1220,7 +1220,7 @@ nvptx_record_libfunc (rtx callee, rtx retval, rtx pat) is prototyped, record it now. Otherwise record it as needed at end of compilation, when we might have more information about it. */ -void +static void nvptx_record_needed_fndecl (tree decl) { if (TYPE_ARG_TYPES (TREE_TYPE (decl)) == NULL_TREE) -- 2.34.1