From: Bill Schmidt Date: Mon, 2 Dec 2019 18:46:45 +0000 (+0000) Subject: Make rs6000_invalid_builtin static. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=871a8fab25b34ed43de1fd38ae0291e17ef53d1b;p=gcc.git Make rs6000_invalid_builtin static. 2019-12-02 Bill Schmidt * config/rs6000/rs6000-call.c (rs6000_invalid_builtin): Make static. * config/rs6000/rs6000-internal.h (rs6000_invalid_builtin): Remove decl. From-SVN: r278911 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 824e6356607..1766d6a4988 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2019-12-02 Bill Schmidt + + * config/rs6000/rs6000-call.c (rs6000_invalid_builtin): Make + static. + * config/rs6000/rs6000-internal.h (rs6000_invalid_builtin): Remove + decl. + 2019-12-02 Richard Sandiford PR middle-end/92741 diff --git a/gcc/config/rs6000/rs6000-call.c b/gcc/config/rs6000/rs6000-call.c index d332afb9c73..81406c59f87 100644 --- a/gcc/config/rs6000/rs6000-call.c +++ b/gcc/config/rs6000/rs6000-call.c @@ -5091,7 +5091,7 @@ rs6000_builtin_is_supported_p (enum rs6000_builtins fncode) /* Raise an error message for a builtin function that is called without the appropriate target options being set. */ -void +static void rs6000_invalid_builtin (enum rs6000_builtins fncode) { size_t uns_fncode = (size_t) fncode; diff --git a/gcc/config/rs6000/rs6000-internal.h b/gcc/config/rs6000/rs6000-internal.h index baccfb3f887..51eb3e053cf 100644 --- a/gcc/config/rs6000/rs6000-internal.h +++ b/gcc/config/rs6000/rs6000-internal.h @@ -138,7 +138,6 @@ extern void rs6000_output_mi_thunk (FILE *file, tree function); extern bool rs6000_output_addr_const_extra (FILE *file, rtx x); extern bool rs6000_gimple_fold_builtin (gimple_stmt_iterator *gsi); -extern void rs6000_invalid_builtin (enum rs6000_builtins fncode); extern tree rs6000_build_builtin_va_list (void); extern void rs6000_va_start (tree valist, rtx nextarg); extern tree rs6000_gimplify_va_arg (tree valist, tree type, gimple_seq *pre_p,