Commit 3c10b1e6 by Jan Hubicka Committed by Jan Hubicka

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
parent 0987bf0d
2016-03-10 Jan Hubicka <hubicka@ucw.cz>
* tree-ssa-loop-ivcanon.c (try_peel_loop): Change type of peel
to HOST_WIDE_INT.
2016-03-29 Thomas Schwinge <thomas@codesourcery.com> 2016-03-29 Thomas Schwinge <thomas@codesourcery.com>
* config/gnu.h (CPP_SPEC, LIB_SPEC): Don't override. * config/gnu.h (CPP_SPEC, LIB_SPEC): Don't override.
......
...@@ -935,7 +935,7 @@ try_peel_loop (struct loop *loop, ...@@ -935,7 +935,7 @@ try_peel_loop (struct loop *loop,
edge exit, tree niter, edge exit, tree niter,
HOST_WIDE_INT maxiter) HOST_WIDE_INT maxiter)
{ {
int npeel; HOST_WIDE_INT npeel;
struct loop_size size; struct loop_size size;
int peeled_size; int peeled_size;
sbitmap wont_exit; sbitmap wont_exit;
...@@ -990,7 +990,7 @@ try_peel_loop (struct loop *loop, ...@@ -990,7 +990,7 @@ try_peel_loop (struct loop *loop,
{ {
if (dump_file) if (dump_file)
fprintf (dump_file, "Not peeling: rolls too much " 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; return false;
} }
npeel++; npeel++;
...@@ -998,7 +998,7 @@ try_peel_loop (struct loop *loop, ...@@ -998,7 +998,7 @@ try_peel_loop (struct loop *loop,
/* Check peeled loops size. */ /* Check peeled loops size. */
tree_estimate_loop_size (loop, exit, NULL, &size, tree_estimate_loop_size (loop, exit, NULL, &size,
PARAM_VALUE (PARAM_MAX_PEELED_INSNS)); 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)) > PARAM_VALUE (PARAM_MAX_PEELED_INSNS))
{ {
if (dump_file) if (dump_file)
...@@ -1032,7 +1032,7 @@ try_peel_loop (struct loop *loop, ...@@ -1032,7 +1032,7 @@ try_peel_loop (struct loop *loop,
if (dump_file && (dump_flags & TDF_DETAILS)) if (dump_file && (dump_flags & TDF_DETAILS))
{ {
fprintf (dump_file, "Peeled loop %d, %i times.\n", fprintf (dump_file, "Peeled loop %d, %i times.\n",
loop->num, npeel); loop->num, (int) npeel);
} }
if (loop->any_upper_bound) if (loop->any_upper_bound)
loop->nb_iterations_upper_bound -= npeel; loop->nb_iterations_upper_bound -= npeel;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment