From b888a051deb7df7587acbe8865513b86d2a1d49f Mon Sep 17 00:00:00 2001 From: Roman Zhuykov Date: Tue, 10 Mar 2020 19:54:50 +0300 Subject: loop-iv: make find_simple_exit static Function 'find_simple_exit' is used only from loop-iv.c In 2004-2006 it was also used in predict.c, but since r118694 (992c31e62304ed5d34247dbdef2db276d08fac05) it does not. gcc/ChangeLog: * loop-iv.c (find_simple_exit): Make it static. * cfgloop.h: Remove the corresponding prototype. --- gcc/cfgloop.h | 1 - 1 file changed, 1 deletion(-) (limited to 'gcc/cfgloop.h') diff --git a/gcc/cfgloop.h b/gcc/cfgloop.h index 11378ca..1c49a8b 100644 --- a/gcc/cfgloop.h +++ b/gcc/cfgloop.h @@ -499,7 +499,6 @@ extern bool iv_analyze_expr (rtx_insn *, scalar_int_mode, rtx, class rtx_iv *); extern rtx get_iv_value (class rtx_iv *, rtx); extern bool biv_p (rtx_insn *, scalar_int_mode, rtx); -extern void find_simple_exit (class loop *, class niter_desc *); extern void iv_analysis_done (void); extern class niter_desc *get_simple_loop_desc (class loop *loop); -- cgit v1.1