+Wed Jun 20 21:53:35 CEST 2001 Jan Hubicka <jh@suse.cz>
+
+ * predict.c (estimate_probability): Fix loop bounds.
+
Wed Jun 20 19:10:48 CEST 2001 Jan Hubicka <jh@suse.cz>
* toplev.c (rest_of_compilation): Run mark_constant_function
For each conditional jump, we try each heuristic in a fixed order.
If more than one heuristic applies to a particular branch, the first
is used as the prediction for the branch. */
- for (i = 0; i < n_basic_blocks - 1; i++)
+ for (i = 0; i < n_basic_blocks; i++)
{
basic_block bb = BASIC_BLOCK (i);
rtx last_insn = bb->end;
}
/* Attach the combined probability to each conditional jump. */
- for (i = 0; i < n_basic_blocks - 1; i++)
+ for (i = 0; i < n_basic_blocks; i++)
{
rtx last_insn = BLOCK_END (i);