summaryrefslogtreecommitdiff
path: root/gcc/tree-scalar-evolution.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2016-07-07 13:50:55 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2016-07-07 11:50:55 +0000
commit019d6598357659e05640cf762b75e18953f70fe9 (patch)
tree64d511f44bec7f6041625ffaa3457e25ff29165e /gcc/tree-scalar-evolution.c
parent275792f2ebb69bc081c4ea764c75ddfd565f640c (diff)
tree-scalar-evolution.c (iv_can_overflow_p): export.
* tree-scalar-evolution.c (iv_can_overflow_p): export. * tree-scalar-evolution.h (iv_can_overflow_p): Declare. * tree-ssa-loop-ivopts.c (alloc_iv): Use it. From-SVN: r238088
Diffstat (limited to 'gcc/tree-scalar-evolution.c')
-rw-r--r--gcc/tree-scalar-evolution.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-scalar-evolution.c b/gcc/tree-scalar-evolution.c
index e51f0aaedc1..2097d81b6cb 100644
--- a/gcc/tree-scalar-evolution.c
+++ b/gcc/tree-scalar-evolution.c
@@ -3317,7 +3317,7 @@ scev_reset (void)
use this test even for derived IVs not computed every iteration or
hypotetical IVs to be inserted into code. */
-static bool
+bool
iv_can_overflow_p (struct loop *loop, tree type, tree base, tree step)
{
widest_int nit;