beginning of block.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78361
138bc75d-0d04-0410-961f-
82ee72b054a4
+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.
/* 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))