Commit cb7c3c3f by Alan Modra Committed by Alan Modra

gcse.c (delete_null_pointer_checks_1): Set stop_insn to end, not beginning of block.

	* gcse.c (delete_null_pointer_checks_1): Set stop_insn to end, not
	beginning of block.

From-SVN: r78361
parent 031e658e
2004-02-24 Alan Modra <amodra@bigpond.net.au>
* gcse.c (delete_null_pointer_checks_1): Set stop_insn to end, not
beginning of block.
2004-02-23 James E Wilson <wilson@specifixinc.com>
* calls.c (precompute_arguments): Update comment.
......
......@@ -5967,7 +5967,7 @@ delete_null_pointer_checks_1 (unsigned int *block_reg, sbitmap *nonnull_avin,
/* Scan each insn in the basic block looking for memory references and
register sets. */
stop_insn = NEXT_INSN (BB_HEAD (current_block));
stop_insn = NEXT_INSN (BB_END (current_block));
for (insn = BB_HEAD (current_block);
insn != stop_insn;
insn = NEXT_INSN (insn))
......
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