Make rs6000_invalid_builtin static.

2019-12-02  Bill Schmidt  <wschmidt@linux.ibm.com>

	* config/rs6000/rs6000-call.c (rs6000_invalid_builtin): Make
	static.
	* config/rs6000/rs6000-internal.h (rs6000_invalid_builtin): Remove
	decl.

From-SVN: r278911
This commit is contained in:
Bill Schmidt 2019-12-02 18:46:45 +00:00 committed by William Schmidt
parent fddcfa5b84
commit 871a8fab25
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2019-12-02 Bill Schmidt <wschmidt@linux.ibm.com>
* 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 <richard.sandiford@arm.com> 2019-12-02 Richard Sandiford <richard.sandiford@arm.com>
PR middle-end/92741 PR middle-end/92741

View File

@ -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 /* Raise an error message for a builtin function that is called without the
appropriate target options being set. */ appropriate target options being set. */
void static void
rs6000_invalid_builtin (enum rs6000_builtins fncode) rs6000_invalid_builtin (enum rs6000_builtins fncode)
{ {
size_t uns_fncode = (size_t) fncode; size_t uns_fncode = (size_t) fncode;

View File

@ -138,7 +138,6 @@ extern void rs6000_output_mi_thunk (FILE *file,
tree function); tree function);
extern bool rs6000_output_addr_const_extra (FILE *file, rtx x); extern bool rs6000_output_addr_const_extra (FILE *file, rtx x);
extern bool rs6000_gimple_fold_builtin (gimple_stmt_iterator *gsi); 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 tree rs6000_build_builtin_va_list (void);
extern void rs6000_va_start (tree valist, rtx nextarg); extern void rs6000_va_start (tree valist, rtx nextarg);
extern tree rs6000_gimplify_va_arg (tree valist, tree type, gimple_seq *pre_p, extern tree rs6000_gimplify_va_arg (tree valist, tree type, gimple_seq *pre_p,