https://gcc.gnu.org/g:8f386aadec70624f13b48dfddc4a8f689ccc505f

commit r15-7551-g8f386aadec70624f13b48dfddc4a8f689ccc505f
Author: Thomas Schwinge <tho...@codesourcery.com>
Date:   Mon Dec 19 15:05:53 2022 +0100

    nvptx: Tag 'gcc/config/nvptx/nvptx.cc:nvptx_record_needed_fndecl' as 
'static'
    
    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'.

Diff:
---
 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 af952a29796d..64de2b1cc9be 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)

Reply via email to