Commit 87621e5f by Steve Ellcey Committed by Steve Ellcey

re PR tree-optimization/32087 (ICE with FORTRAN and -fprefetch-loop-arrays)

	PR tree-optimization/32087
	* tree-ssa-loop-manip.c (tree_transform_and_unroll_loop):
	Do not call scale_bbs_frequencies_int with prob of zero.

From-SVN: r126959
parent b617fc71
2007-07-26 Steve Ellcey <sje@cup.hp.com>
PR tree-optimization/32087
* tree-ssa-loop-manip.c (tree_transform_and_unroll_loop):
Do not call scale_bbs_frequencies_int with prob of zero.
2007-07-26 Julian Brown <julian@codesourcery.com>
* config/arm/arm-protos.h (neon_lane_bounds, neon_const_bounds)
......
......@@ -1035,8 +1035,9 @@ tree_transform_and_unroll_loop (struct loop *loop, unsigned factor,
new_nonexit->count = exit_bb->count - new_exit->count;
if (new_nonexit->count < 0)
new_nonexit->count = 0;
scale_bbs_frequencies_int (&loop->latch, 1, new_nonexit->probability,
prob);
if (prob > 0)
scale_bbs_frequencies_int (&loop->latch, 1, new_nonexit->probability,
prob);
/* Finally create the new counter for number of iterations and add the new
exit instruction. */
......
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