diff options
author | amodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-24 10:34:22 +0000 |
---|---|---|
committer | amodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-24 10:34:22 +0000 |
commit | 74e19b67aeec934e19dc71ca0a8cf578a52f2a03 (patch) | |
tree | 95a8276beee39439317f038e85f6bd4ff4b875d9 /gcc/gcse.c | |
parent | 36b53792aaf7ba05ac8f80bdfdacafb4b6383554 (diff) | |
download | gcc-74e19b67aeec934e19dc71ca0a8cf578a52f2a03.tar.gz |
* gcse.c (delete_null_pointer_checks_1): Set stop_insn to end, not
beginning of block.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78361 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r-- | gcc/gcse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gcse.c b/gcc/gcse.c index b61ee8ccbee..36950b186bf 100644 --- a/gcc/gcse.c +++ b/gcc/gcse.c @@ -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)) |