diff options
author | Roman Zhuykov <zhroma@ispras.ru> | 2020-03-10 19:54:50 +0300 |
---|---|---|
committer | Roman Zhuykov <zhroma@ispras.ru> | 2020-03-10 19:54:50 +0300 |
commit | b888a051deb7df7587acbe8865513b86d2a1d49f (patch) | |
tree | fe3bc6c4cee200a34ca8a9f4c50e7d35cd785ddd /gcc/loop-iv.c | |
parent | 90b5ebd76934b6c297b92946a2989c5ed9cc13cc (diff) | |
download | gcc-b888a051deb7df7587acbe8865513b86d2a1d49f.zip gcc-b888a051deb7df7587acbe8865513b86d2a1d49f.tar.gz gcc-b888a051deb7df7587acbe8865513b86d2a1d49f.tar.bz2 |
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.
Diffstat (limited to 'gcc/loop-iv.c')
-rw-r--r-- | gcc/loop-iv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/loop-iv.c b/gcc/loop-iv.c index 6a59954..d7b3d90 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; |