diff options
author | Jan Hubicka <jh@suse.cz> | 2012-10-09 15:10:37 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2012-10-09 13:10:37 +0000 |
commit | 73367f92ad4316a6a149d40e076f6a2d5cd9a022 (patch) | |
tree | 7114ec1f703170ac8194de328dfe6af33d100a7f /gcc/tree-streamer.c | |
parent | 0b8c30f9aaae52859e12efef359060b8246d6273 (diff) | |
download | gcc-73367f92ad4316a6a149d40e076f6a2d5cd9a022.zip gcc-73367f92ad4316a6a149d40e076f6a2d5cd9a022.tar.gz gcc-73367f92ad4316a6a149d40e076f6a2d5cd9a022.tar.bz2 |
loop-unroll.c (unroll_loop_constant_iterations): Add update of loop->nb_iterations_upper_bound I missed in my previous commit...
* loop-unroll.c (unroll_loop_constant_iterations): Add
update of loop->nb_iterations_upper_bound I missed in my previous
commit; use TRUNC_DIV_EXPR instead of FLOOR_DIV_EXPR to divide
iteration count.
(decide_unroll_runtime_iterations): Avoid overflow.
(unroll_loop_runtime_iterations): Use TRUNC_DIV_EXPR instead of
FLOOR_DIV_EXPR to update iteration bounds.
(decide_peel_simple): Avoid integer overflow when deciding
on number of peelings.
(decide_unroll_stupid): Likewise.
From-SVN: r192251
Diffstat (limited to 'gcc/tree-streamer.c')
0 files changed, 0 insertions, 0 deletions