diff options
author | Alan Modra <amodra@bigpond.net.au> | 2004-02-24 10:34:22 +0000 |
---|---|---|
committer | Alan Modra <amodra@gcc.gnu.org> | 2004-02-24 21:04:22 +1030 |
commit | cb7c3c3f1ade49849a9facbedbb108f94d941bf4 (patch) | |
tree | 95a8276beee39439317f038e85f6bd4ff4b875d9 /gcc/gcse.c | |
parent | 031e658e58cad675197b845e5c6b311237fabfa7 (diff) | |
download | gcc-cb7c3c3f1ade49849a9facbedbb108f94d941bf4.zip gcc-cb7c3c3f1ade49849a9facbedbb108f94d941bf4.tar.gz gcc-cb7c3c3f1ade49849a9facbedbb108f94d941bf4.tar.bz2 |
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
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r-- | gcc/gcse.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)) |