diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ca90147c3e1..c78d01aa2d7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2020-03-10 Roman Zhuykov + + * loop-iv.c (find_simple_exit): Make it static. + * cfgloop.h: Remove the corresponding prototype. + 2020-03-10 Roman Zhuykov * ddg.c (create_ddg): Fix intendation. diff --git a/gcc/cfgloop.h b/gcc/cfgloop.h index 11378cadd41..1c49a8b8c2d 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); diff --git a/gcc/loop-iv.c b/gcc/loop-iv.c index 6a59954f60a..d7b3d90f047 100644 --- a/gcc/loop-iv.c +++ b/gcc/loop-iv.c @@ -2915,7 +2915,7 @@ check_simple_exit (class loop *loop, edge e, class niter_desc *desc) /* Finds a simple exit of LOOP and stores its description into DESC. */ -void +static void find_simple_exit (class loop *loop, class niter_desc *desc) { unsigned i;