aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgloop.h
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2016-05-20 15:19:59 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2016-05-20 13:19:59 +0000
commit97c53806a296af266da77377d7258d52712ba648 (patch)
tree5a59e9c33670e77c59db2200ae49b413088be4c9 /gcc/cfgloop.h
parent216e83748d52d0bb056dd6b46ea74a14b08c7639 (diff)
downloadgcc-97c53806a296af266da77377d7258d52712ba648.zip
gcc-97c53806a296af266da77377d7258d52712ba648.tar.gz
gcc-97c53806a296af266da77377d7258d52712ba648.tar.bz2
cfgloop.h (expected_loop_iterations_unbounded, [...]): Unconstify.
* cfgloop.h (expected_loop_iterations_unbounded, expected_loop_iterations): Unconstify. * cfgloopanal.c (expected_loop_iterations_unbounded): Sanity check the profile with known upper bound; return 3 when profile is absent. (expected_loop_iterations): Update. From-SVN: r236511
Diffstat (limited to 'gcc/cfgloop.h')
-rw-r--r--gcc/cfgloop.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cfgloop.h b/gcc/cfgloop.h
index 54e738f..173fda8 100644
--- a/gcc/cfgloop.h
+++ b/gcc/cfgloop.h
@@ -316,8 +316,8 @@ extern void verify_loop_structure (void);
/* Loop analysis. */
extern bool just_once_each_iteration_p (const struct loop *, const_basic_block);
-gcov_type expected_loop_iterations_unbounded (const struct loop *);
-extern unsigned expected_loop_iterations (const struct loop *);
+gcov_type expected_loop_iterations_unbounded (struct loop *);
+extern unsigned expected_loop_iterations (struct loop *);
extern rtx doloop_condition_get (rtx);
void mark_loop_for_removal (loop_p);