From 871a8fab25b34ed43de1fd38ae0291e17ef53d1b Mon Sep 17 00:00:00 2001 From: Bill Schmidt Date: Mon, 2 Dec 2019 18:46:45 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 7 +++++++ gcc/config/rs6000/rs6000-call.c | 2 +- gcc/config/rs6000/rs6000-internal.h | 1 - 3 files changed, 8 insertions(+), 2 deletions(-) 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,