aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop-ivcanon.c
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2016-03-30 00:03:00 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2016-03-29 22:03:00 +0000
commit3c10b1e6b9bca3d17c5f264fc8355ef2e5357578 (patch)
tree38aff6e1c43caa9cdaa940ce1e6e7646277da3c6 /gcc/tree-ssa-loop-ivcanon.c
parent0987bf0d7e6e41a5991f3ebc9ae08b24f2194eaa (diff)
downloadgcc-3c10b1e6b9bca3d17c5f264fc8355ef2e5357578.zip
gcc-3c10b1e6b9bca3d17c5f264fc8355ef2e5357578.tar.gz
gcc-3c10b1e6b9bca3d17c5f264fc8355ef2e5357578.tar.bz2
tree-ssa-loop-ivcanon.c (try_peel_loop): Change type of peel to HOST_WIDE_INT.
* tree-ssa-loop-ivcanon.c (try_peel_loop): Change type of peel to HOST_WIDE_INT. From-SVN: r234537
Diffstat (limited to 'gcc/tree-ssa-loop-ivcanon.c')
-rw-r--r--gcc/tree-ssa-loop-ivcanon.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/tree-ssa-loop-ivcanon.c b/gcc/tree-ssa-loop-ivcanon.c
index 72f91b2..9b59b44 100644
--- a/gcc/tree-ssa-loop-ivcanon.c
+++ b/gcc/tree-ssa-loop-ivcanon.c
@@ -935,7 +935,7 @@ try_peel_loop (struct loop *loop,
edge exit, tree niter,
HOST_WIDE_INT maxiter)
{
- int npeel;
+ HOST_WIDE_INT npeel;
struct loop_size size;
int peeled_size;
sbitmap wont_exit;
@@ -990,7 +990,7 @@ try_peel_loop (struct loop *loop,
{
if (dump_file)
fprintf (dump_file, "Not peeling: rolls too much "
- "(%i + 1 > --param max-peel-times)\n", npeel);
+ "(%i + 1 > --param max-peel-times)\n", (int) npeel);
return false;
}
npeel++;
@@ -998,7 +998,7 @@ try_peel_loop (struct loop *loop,
/* Check peeled loops size. */
tree_estimate_loop_size (loop, exit, NULL, &size,
PARAM_VALUE (PARAM_MAX_PEELED_INSNS));
- if ((peeled_size = estimated_peeled_sequence_size (&size, npeel))
+ if ((peeled_size = estimated_peeled_sequence_size (&size, (int) npeel))
> PARAM_VALUE (PARAM_MAX_PEELED_INSNS))
{
if (dump_file)
@@ -1032,7 +1032,7 @@ try_peel_loop (struct loop *loop,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Peeled loop %d, %i times.\n",
- loop->num, npeel);
+ loop->num, (int) npeel);
}
if (loop->any_upper_bound)
loop->nb_iterations_upper_bound -= npeel;